| SDL_RemoveSurfaceAlternateImages(3) | SDL3 FUNCTIONS | SDL_RemoveSurfaceAlternateImages(3) |
SDL_RemoveSurfaceAlternateImages - Remove all alternate versions of a surface.
Defined in SDL3/SDL_surface.h
#include "SDL3/SDL.h"
void SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface);
This function removes a reference from all the alternative versions, destroying them if this is the last reference to them.
This function is not thread safe.
This function is available since SDL 3.2.0.
•(3), SDL_AddSurfaceAlternateImage(3), •(3), SDL_GetSurfaceImages(3), •(3), SDL_SurfaceHasAlternateImages(3)
| SDL 3.2.10 | Simple Directmedia Layer |