sdlRemoveSurfaceAlternateImages function
Remove all alternate versions of a surface.
This function removes a reference from all the alternative versions, destroying them if this is the last reference to them.
\param surface the SDL_Surface structure to update.
\since This function is available since SDL 3.1.3.
\sa SDL_AddSurfaceAlternateImage \sa SDL_GetSurfaceImages \sa SDL_SurfaceHasAlternateImages
extern SDL_DECLSPEC void SDLCALL SDL_RemoveSurfaceAlternateImages(SDL_Surface *surface)
Implementation
void sdlRemoveSurfaceAlternateImages(Pointer<SdlSurface> surface) {
final sdlRemoveSurfaceAlternateImagesLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlSurface> surface),
void Function(
Pointer<SdlSurface> surface)>('SDL_RemoveSurfaceAlternateImages');
return sdlRemoveSurfaceAlternateImagesLookupFunction(surface);
}