SDL_FlipSurface - Man Page

Flip a surface vertically or horizontally.

Synopsis

#include <SDL3/SDL_surface.h>

bool SDL_FlipSurface(SDL_Surface *surface, SDL_FlipMode flip);

Function Parameters

surface

the surface to flip.

flip

the direction to flip.

Return Value

for more information.

Thread Safety

This function is not thread safe.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS