Flip a surface vertically or horizontally.
Defined in <SDL3/SDL_surface.h>
bool SDL_FlipSurface(SDL_Surface *surface, SDL_FlipMode flip);
SDL_Surface * | surface | the surface to flip. |
SDL_FlipMode | flip | the direction to flip. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.