Man page - sdl_destroyrenderer(3)

Packages contas this manual

Manual

SDL_DestroyRenderer(3) SDL3 FUNCTIONS SDL_DestroyRenderer(3)

SDL_DestroyRenderer - Destroy the rendering context for a window and free all associated textures.

Defined in SDL3/SDL_render.h

#include "SDL3/SDL.h"
void SDL_DestroyRenderer(SDL_Renderer *renderer);

This should be called before destroying the associated window.

the rendering context.

This function should only be called on the main thread.

This function is available since SDL 3.2.0.

(3), SDL_CreateRenderer(3)

SDL 3.2.10 Simple Directmedia Layer