SDL_DestroySurface3
Free a surface.
Usage
#include "SDL3/SDL.h"
void SDL_DestroySurface(SDL_Surface *surface);
Header file
Defined in SDL3/SDL_surface.h
Overview
It is safe to pass NULL to this function.
Function parameters
- surface
-
the
SDL_Surface
to free.
Thread safety
No other thread should be using the surface when it is freed.