SDL_DestroySurface - Man Page
Free a surface.
Header File
Defined in SDL3/SDL_surface.h
Synopsis
#include "SDL3/SDL.h" void SDL_DestroySurface(SDL_Surface *surface);
Description
It is safe to pass NULL to this function.
Function Parameters
- surface
the SDL_Surface
to free.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_CreateSurface(3), ·(3), SDL_CreateSurfaceFrom(3)
Referenced By
SDL_ConvertSurface(3), SDL_ConvertSurfaceAndColorspace(3), SDL_CreateSurface(3), SDL_CreateSurfaceFrom(3), SDL_DuplicateSurface(3), SDL_LoadBMP(3), SDL_LoadBMP_IO(3), SDL_ScaleSurface(3), SDL_Surface.3type(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS