Skip to content

Commit 5d9b170

Browse files
committed
Be explicit that SDL_FLIP_HORIZONTAL_AND_VERTICAL combines horizontal and vertical flipping
Closes #13821
1 parent cd21bbe commit 5d9b170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/SDL3/SDL_surface.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ typedef enum SDL_ScaleMode
9696
*/
9797
typedef enum SDL_FlipMode
9898
{
99-
SDL_FLIP_NONE, /**< Do not flip */
100-
SDL_FLIP_HORIZONTAL, /**< flip horizontally */
101-
SDL_FLIP_VERTICAL, /**< flip vertically */
102-
SDL_FLIP_HORIZONTAL_AND_VERTICAL, /**< flip horizontally and vertically (not a diagonal flip) */
99+
SDL_FLIP_NONE, /**< Do not flip */
100+
SDL_FLIP_HORIZONTAL, /**< flip horizontally */
101+
SDL_FLIP_VERTICAL, /**< flip vertically */
102+
SDL_FLIP_HORIZONTAL_AND_VERTICAL = (SDL_FLIP_HORIZONTAL | SDL_FLIP_VERTICAL) /**< flip horizontally and vertically (not a diagonal flip) */
103103
} SDL_FlipMode;
104104

105105
#ifndef SDL_INTERNAL

0 commit comments

Comments
 (0)