Closed aganm closed 2 years ago
The SDL renderer API has this function
int SDL_GetRendererInfo(SDL_Renderer * renderer, SDL_RendererInfo * info);
This function fills a SDL_RendererInfo struct with int max_texture_width and int max_texture_height in it.
SDL_RendererInfo
int max_texture_width
int max_texture_height
What is SDL_gpu's way of obtaining maximum texture size?
I used the opengl functions.
The SDL renderer API has this function
int SDL_GetRendererInfo(SDL_Renderer * renderer, SDL_RendererInfo * info);
This function fills a
SDL_RendererInfo
struct withint max_texture_width
andint max_texture_height
in it.What is SDL_gpu's way of obtaining maximum texture size?