Fixed inconsistent hint names (thanks @Sackzement!)

Fixes https://github.com/libsdl-org/SDL/issues/9643
This commit is contained in:
Sam Lantinga
2024-05-07 08:46:44 -07:00
parent 9aff68746f
commit 53a45a4437

View File

@@ -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