SDL_RemoveSurfaceAlternateImages(3)

SDL_RemoveSurfaceAlternateImages3

Remove all alternate versions of a surface.

Usage

#include "SDL3/SDL.h"

void SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface);

Header file

Defined in SDL3/SDL_surface.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.