SDL_AddHintCallback() now returns a standard int result instead of void

Fixes https://github.com/libsdl-org/SDL/issues/7035
This commit is contained in:
Sam Lantinga
2023-01-09 12:09:30 -08:00
parent fde78d12f2
commit 5feebcdce0
4 changed files with 15 additions and 15 deletions

View File

@@ -272,6 +272,8 @@ functionality to your app and aid migration. That is located in the
## SDL_hints.h
SDL_AddHintCallback() now returns a standard int result instead of void, returning 0 if the function succeeds or a negative error code if there was an error.
The following hints have been removed:
* SDL_HINT_IDLE_TIMER_DISABLED (use SDL_DisableScreenSaver instead)
* SDL_HINT_VIDEO_X11_FORCE_EGL (use SDL_HINT_VIDEO_FORCE_EGL instead)