SDL_RemoveSurfaceAlternateImages - Man Page
Remove all alternate versions of a surface.
Header File
Defined in SDL3/SDL_surface.h
Synopsis
#include "SDL3/SDL.h" void SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface);
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.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_AddSurfaceAlternateImage(3), ·(3), SDL_GetSurfaceImages(3), ·(3), SDL_SurfaceHasAlternateImages(3)
Referenced By
SDL_AddSurfaceAlternateImage(3), SDL_GetSurfaceImages(3), SDL_SurfaceHasAlternateImages(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS