Parcourir la source

Revert "Added SDL_FLIP_DIAGONAL"

This reverts commit b9ab3269823ea329757aada3a20ef97abf1a9f6d.

@rainerdeyke pointed out:
"This commit is incorrect. Flipping both horizontally and vertically is not equivalent to flipping diagonally."
Sam Lantinga il y a 1 an
Parent
commit
fde420a645
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 3 4
      include/SDL3/SDL_surface.h

+ 3 - 4
include/SDL3/SDL_surface.h

@@ -80,10 +80,9 @@ typedef enum
  */
 typedef enum
 {
-    SDL_FLIP_NONE       = 0x00,     /**< Do not flip */
-    SDL_FLIP_HORIZONTAL = 0x01,     /**< flip horizontally */
-    SDL_FLIP_VERTICAL   = 0x02,     /**< flip vertically */
-    SDL_FLIP_DIAGONAL   = 0x03,     /**< flip diagonally (both horizontally and vertically) */
+    SDL_FLIP_NONE,          /**< Do not flip */
+    SDL_FLIP_HORIZONTAL,    /**< flip horizontally */
+    SDL_FLIP_VERTICAL       /**< flip vertically */
 } SDL_FlipMode;
 
 /**