Function sdl2_sys::SDL_DestroyRenderer

source ·
pub unsafe extern "C" fn SDL_DestroyRenderer(
    renderer: *mut SDL_Renderer,
)
Expand description

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

If renderer is NULL, this function will return immediately after setting the SDL error message to “Invalid renderer”. See SDL_GetError().

\param renderer the rendering context

\since This function is available since SDL 2.0.0.

\sa SDL_CreateRenderer