Convert SDL_malloc to SDL_calloc if appropriate, slightly faster on operating systems which map the zero page for memory allocations.

OpenGL renderer in progress
This commit is contained in:
Sam Lantinga
2006-07-22 08:33:18 +00:00
parent e127759e0c
commit d533be8505
9 changed files with 218 additions and 212 deletions

View File

@@ -191,7 +191,7 @@ typedef struct SDL_RendererInfo
Uint32 blend_modes; /**< A mask of supported blend modes */
Uint32 scale_modes; /**< A mask of supported scale modes */
Uint32 num_texture_formats; /**< The number of available texture formats */
Uint32 texture_formats[16]; /**< The available texture formats */
Uint32 texture_formats[20]; /**< The available texture formats */
int max_texture_width; /**< The maximimum texture width */
int max_texture_height; /**< The maximimum texture height */
} SDL_RendererInfo;