SDL_DestroyRenderer - Man Page
Destroy the rendering context for a window and free all associated textures.
Header File
Defined in SDL3/SDL_render.h
Synopsis
#include "SDL3/SDL.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
·(3), SDL_CreateRenderer(3)
Referenced By
SDL_CreateRenderer(3), SDL_CreateRendererWithProperties(3), SDL_CreateSoftwareRenderer(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS