logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_RemoveSurfaceAlternateImages - Remove all alternate versions of a surface.

Availability

       This function is available since SDL 3.2.0.

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.

Name

       SDL_RemoveSurfaceAlternateImages - Remove all alternate versions of a surface.

See Also

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

Simple Directmedia Layer                           SDL 3.2.20                SDL_RemoveSurfaceAlternateImages(3)

Synopsis

#include<SDL3/SDL_surface.h>voidSDL_RemoveSurfaceAlternateImages(SDL_Surface*surface);

Thread Safety

       This function is not thread safe.

See Also