Forráskód Böngészése

Fixed inconsistent hint names (thanks @Sackzement!)

Fixes https://github.com/libsdl-org/SDL/issues/9643
Sam Lantinga 11 hónapja
szülő
commit
53a45a4437
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      include/SDL3/SDL_hints.h

+ 2 - 2
include/SDL3/SDL_hints.h

@@ -2334,7 +2334,7 @@ extern "C" {
  *
  * \since This hint is available since SDL 3.0.0.
  */
-#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
+#define SDL_HINT_ORIENTATIONS "SDL_ORIENTATIONS"
 
 /**
  * A variable controlling whether pen mouse button emulation triggers only
@@ -2898,7 +2898,7 @@ extern "C" {
  *
  * \since This hint is available since SDL 3.0.0.
  */
-#define SDL_HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK "SDL_VIDEO_EGL_GETDISPLAY_FALLBACK"
+#define SDL_HINT_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK "SDL_VIDEO_EGL_ALLOW_GETDISPLAY_FALLBACK"
 
 /**
  * A variable controlling whether the OpenGL context should be created with