Be explicit that SDL_FLIP_HORIZONTAL_AND_VERTICAL combines horizontal and vertical flipping
Closes https://github.com/libsdl-org/SDL/pull/13821
This commit is contained in:
@@ -99,7 +99,7 @@ typedef enum SDL_FlipMode
|
|||||||
SDL_FLIP_NONE, /**< Do not flip */
|
SDL_FLIP_NONE, /**< Do not flip */
|
||||||
SDL_FLIP_HORIZONTAL, /**< flip horizontally */
|
SDL_FLIP_HORIZONTAL, /**< flip horizontally */
|
||||||
SDL_FLIP_VERTICAL, /**< flip vertically */
|
SDL_FLIP_VERTICAL, /**< flip vertically */
|
||||||
SDL_FLIP_HORIZONTAL_AND_VERTICAL, /**< flip horizontally and vertically (not a diagonal flip) */
|
SDL_FLIP_HORIZONTAL_AND_VERTICAL = (SDL_FLIP_HORIZONTAL | SDL_FLIP_VERTICAL) /**< flip horizontally and vertically (not a diagonal flip) */
|
||||||
} SDL_FlipMode;
|
} SDL_FlipMode;
|
||||||
|
|
||||||
#ifndef SDL_INTERNAL
|
#ifndef SDL_INTERNAL
|
||||||
|
|||||||
Reference in New Issue
Block a user