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
Info
SDL 3.4.18 Simple Directmedia Layer SDL3 FUNCTIONS