SDL_DestroyRenderer - Man Page
Destroy the rendering context for a window and free all associated textures.
Synopsis
#include <SDL3/SDL_render.h> void SDL_DestroyRenderer(SDL_Renderer *renderer);
Description
This should be called before destroying the associated window.
Function Parameters
- renderer
the rendering context.
Thread Safety
This function should only be called on the main thread.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL_CreateRenderer(3), SDL_CreateRendererWithProperties(3), SDL_CreateSoftwareRenderer(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS