SDL_RemoveSurfaceAlternateImages - Remove all alternate versions of a surface.
Contents
Availability
This function is available since SDL 3.2.0.
Description
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.
Name
SDL_RemoveSurfaceAlternateImages - Remove all alternate versions of a surface.
See Also
SDL_AddSurfaceAlternateImage(3), SDL_GetSurfaceImages(3), SDL_SurfaceHasAlternateImages(3) Simple Directmedia Layer SDL 3.2.20 SDL_RemoveSurfaceAlternateImages(3)
Synopsis
#include<SDL3/SDL_surface.h>voidSDL_RemoveSurfaceAlternateImages(SDL_Surface*surface);
Thread Safety
This function is not thread safe.
