Use SDL_PixelFormatEnum as type

This commit is contained in:
Susko3 authored and Sam Lantinga committed 2024-03-06 15:02:13 -08:00
1 parent 38c54b8e0e
commit 424616e032
9 files changed
+51 -51

No files matched your search

+1 -1
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;