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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401965
This commit is contained in:
parent
2b538200ba
commit
2fe561616a
9 changed files with 218 additions and 212 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue