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

§Availability

This function is available since SDL 3.2.0.

§See also