mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-18 17:38:22 +00:00
Removed the limit on the number of supported renderer texture formats
Fixes https://github.com/libsdl-org/SDL/issues/9056
This commit is contained in:
@@ -87,7 +87,7 @@ typedef struct SDL_RendererInfo
|
||||
const char *name; /**< The name of the renderer */
|
||||
SDL_RendererFlags flags; /**< Supported ::SDL_RendererFlags */
|
||||
int num_texture_formats; /**< The number of available texture formats */
|
||||
SDL_PixelFormatEnum texture_formats[16]; /**< The available texture formats */
|
||||
const SDL_PixelFormatEnum *texture_formats; /**< The available texture formats */
|
||||
int max_texture_width; /**< The maximum texture width */
|
||||
int max_texture_height; /**< The maximum texture height */
|
||||
} SDL_RendererInfo;
|
||||
|
||||
Reference in New Issue
Block a user