Use SDL_PixelFormatEnum as type

This commit is contained in:
Susko3
2024-03-06 19:59:05 +01:00
committed by Sam Lantinga
parent 38c54b8e0e
commit 424616e032
9 changed files with 51 additions and 51 deletions

View File

@@ -80,7 +80,7 @@ typedef struct SDL_RendererInfo
const char *name; /**< The name of the renderer */
Uint32 flags; /**< Supported ::SDL_RendererFlags */
int num_texture_formats; /**< The number of available texture formats */
Uint32 texture_formats[16]; /**< The available texture formats */
SDL_PixelFormatEnum texture_formats[16]; /**< The available texture formats */
int max_texture_width; /**< The maximum texture width */
int max_texture_height; /**< The maximum texture height */
} SDL_RendererInfo;