Destroy the rendering context for a window and free associated textures.
Defined in SDL_render.h
void SDL_DestroyRenderer(SDL_Renderer * renderer);
SDL_Renderer * | 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 2.0.0.