SDL_RemoveSurfaceAlternateImages3
Remove all alternate versions of a surface.
Usage
#include "SDL3/SDL.h"
void SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface);
Header file
Defined in SDL3/SDL_surface.h
Overview
This function removes a reference from all the alternative versions, destroying them if this is the last reference to them.
Function parameters
- surface
-
the
SDL_Surface
structure to update.
Thread safety
This function is not thread safe.