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.
You may only call this function from the main thread.
This function is available since SDL 3.1.3.