Jelajahi Sumber

Fixed inconsistent hint names (thanks @Sackzement!)

Fixes https://github.com/libsdl-org/SDL/issues/9643
Sam Lantinga 1 tahun lalu
induk
melakukan
53a45a4437
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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