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 can be called on different threads with different surfaces.
This function is available since SDL 3.2.0.