Destroy the rendering context for a window and free associated textures.
Defined in <SDL3/SDL_render.h>
renderer | the rendering context |
If renderer
is NULL, this function will return immediately after setting the SDL error message to "Invalid renderer". See SDL_GetError().
This function is available since SDL 3.0.0.