Function sdl2_sys::SDL_FreeSurface

source ·
pub unsafe extern "C" fn SDL_FreeSurface(surface: *mut SDL_Surface)
Expand description

Free an RGB surface.

It is safe to pass NULL to this function.

\param surface the SDL_Surface to free.

\since This function is available since SDL 2.0.0.

\sa SDL_CreateRGBSurface \sa SDL_CreateRGBSurfaceFrom \sa SDL_LoadBMP \sa SDL_LoadBMP_RW