Remove all alternate versions of a surface.
Defined in <SDL3/SDL_surface.h>
void SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface);
SDL_Surface * | surface | the SDL_Surface structure to update. |
This function removes a reference from all the alternative versions, destroying them if this is the last reference to them.
This function is available since SDL 3.1.3.