浏览代码

Fixed inconsistent hint names (thanks @Sackzement!)

Fixes https://github.com/libsdl-org/SDL/issues/9643
Sam Lantinga 1 年之前
父节点
当前提交
53a45a4437
共有 1 个文件被更改,包括 2 次插入2 次删除
  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