From c7787a9191bcb8ab5c86629371e96a1ec3c0697b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 2 Apr 2024 19:24:07 -0700 Subject: [PATCH] The hint environment variables don't have the word "HINT" in them Fixes https://github.com/libsdl-org/SDL/issues/9436 --- include/SDL3/SDL_hints.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 065b1b319..9fc047541 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -503,7 +503,7 @@ extern "C" { * * This hint can be set anytime. */ -#define SDL_HINT_FORCE_RAISEWINDOW "SDL_HINT_FORCE_RAISEWINDOW" +#define SDL_HINT_FORCE_RAISEWINDOW "SDL_FORCE_RAISEWINDOW" /** * A variable controlling how 3D acceleration is used to accelerate the SDL screen surface. @@ -1690,7 +1690,7 @@ extern "C" { * * This hint can be set anytime. */ -#define SDL_HINT_PEN_DELAY_MOUSE_BUTTON "SDL_HINT_PEN_DELAY_MOUSE_BUTTON" +#define SDL_HINT_PEN_DELAY_MOUSE_BUTTON "SDL_PEN_DELAY_MOUSE_BUTTON" /** * A variable controlling whether to treat pen movement as separate from mouse movement @@ -1707,7 +1707,7 @@ extern "C" { * * This hint can be set anytime. */ -#define SDL_HINT_PEN_NOT_MOUSE "SDL_HINT_PEN_NOT_MOUSE" +#define SDL_HINT_PEN_NOT_MOUSE "SDL_PEN_NOT_MOUSE" /** * A variable controlling the use of a sentinel event when polling the event queue @@ -2283,7 +2283,7 @@ extern "C" { * * This hint can be set anytime. */ -#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_HINT_VITA_TOUCH_MOUSE_DEVICE" +#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_VITA_TOUCH_MOUSE_DEVICE" /** * A variable controlling how the fact chunk affects the loading of a WAVE file.