Sam Lantinga
63f307fe1f
Remove SDL_config.h from the public headers
...
The SDL headers are no longer dependent on the build configuration.
Fixes https://github.com/libsdl-org/SDL/issues/6643 and https://github.com/libsdl-org/SDL/issues/6641
2022-11-26 04:48:36 -08:00
Sam Lantinga
64ea6cefaf
SDL_ResetHint() no longer clears the callbacks associated with a hint
...
Also added SDL_ResetHints() to reset all callbacks, and clarified that SDL_ClearHints() is just used for cleanup at shutdown.
Fixes https://github.com/libsdl-org/SDL/issues/6313
2022-10-02 17:17:31 -07:00
Sam Lantinga
d4192850c1
Added SDL_ResetHint() to reset a hint to the default value
...
Resolves question of how to clear an override hint raised by @pionere in https://github.com/libsdl-org/SDL/pull/5309
2022-08-10 08:01:24 -07:00
Eddy Jansson
5c1f5a7306
test: Correct invalid enum length.
...
Ensure that they can't break like this again.
2022-04-28 12:58:27 -07:00
Ryan C. Gordon
7d7ec9c951
x11: Remove XVidMode and Xinerama support.
...
Fixes #1782 .
2022-04-26 23:17:13 -04:00
Ozkan Sezer
990fb668f7
tests: several -Wwrite-strings fixes.
2021-11-20 01:02:02 +03:00
Cameron Gutman
f124259e59
testautomation: fix use-after-free when restoring hint value
2021-11-12 17:25:24 -06:00
Sam Lantinga
94a42af570
Fixed the name of the verbose hints
2021-09-22 09:49:41 -07:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00