comparison include/SDL_video.h @ 5144:31e7f523ab3d

Making the API simpler, texture color and alpha modulation are supported by all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 23:37:30 -0800
parents e743b9c3f6d6
children c8e049de174c
comparison
equal deleted inserted replaced
5143:e743b9c3f6d6 5144:31e7f523ab3d
184 */ 184 */
185 typedef struct SDL_RendererInfo 185 typedef struct SDL_RendererInfo
186 { 186 {
187 const char *name; /**< The name of the renderer */ 187 const char *name; /**< The name of the renderer */
188 Uint32 flags; /**< Supported ::SDL_RendererFlags */ 188 Uint32 flags; /**< Supported ::SDL_RendererFlags */
189 Uint32 mod_modes; /**< A mask of supported channel modulation */
190 Uint32 num_texture_formats; /**< The number of available texture formats */ 189 Uint32 num_texture_formats; /**< The number of available texture formats */
191 Uint32 texture_formats[50]; /**< The available texture formats */ 190 Uint32 texture_formats[50]; /**< The available texture formats */
192 int max_texture_width; /**< The maximimum texture width */ 191 int max_texture_width; /**< The maximimum texture width */
193 int max_texture_height; /**< The maximimum texture height */ 192 int max_texture_height; /**< The maximimum texture height */
194 } SDL_RendererInfo; 193 } SDL_RendererInfo;