Function SDL_DestroySurface
pub unsafe extern "C" fn SDL_DestroySurface(surface: *mut SDL_Surface)
Available on crate feature
dep_sdl3
only.Expand description
Free a surface.
It is safe to pass NULL to this function.
§Parameters
surface
: theSDL_Surface
to free.
§Availability
This function is available since SDL 3.2.0.