Destroy the rendering context for a window and free all associated textures.
Defined in <SDL3/SDL_render.h>
void SDL_DestroyRenderer(SDL_Renderer *renderer);
SDL_Renderer * | renderer | the rendering context. |
This should be called before destroying the associated window.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.