comparison include/SDL_video.h @ 5143:e743b9c3f6d6

Making the API simpler, the blend modes are "none, blend, add" and are supported by all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 23:23:57 -0800
parents da10636e5eca
children 31e7f523ab3d
comparison
equal deleted inserted replaced
5142:57851a238c8f 5143:e743b9c3f6d6
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 */ 189 Uint32 mod_modes; /**< A mask of supported channel modulation */
190 Uint32 blend_modes; /**< A mask of supported blend modes */
191 Uint32 num_texture_formats; /**< The number of available texture formats */ 190 Uint32 num_texture_formats; /**< The number of available texture formats */
192 Uint32 texture_formats[50]; /**< The available texture formats */ 191 Uint32 texture_formats[50]; /**< The available texture formats */
193 int max_texture_width; /**< The maximimum texture width */ 192 int max_texture_width; /**< The maximimum texture width */
194 int max_texture_height; /**< The maximimum texture height */ 193 int max_texture_height; /**< The maximimum texture height */
195 } SDL_RendererInfo; 194 } SDL_RendererInfo;