SDL_RemoveSurfaceAlternateImages - Man Page

Remove all alternate versions of a surface.

Synopsis

#include <SDL3/SDL_surface.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.

Thread Safety

This function is not thread safe.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_AddSurfaceAlternateImage(3), SDL_GetSurfaceImages(3), SDL_SurfaceHasAlternateImages(3)

Referenced By

SDL_AddSurfaceAlternateImage(3), SDL_GetSurfaceImages(3), SDL_SurfaceHasAlternateImages(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS