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
05139f4a2e
Removed SDL_RWFromFP from the public API
...
This will blow up if the SDL library and the application have a different C runtime, which can easily happen on Windows.
2022-11-25 10:46:26 -08:00
Pierre Wendling
d080e3bf3a
Silence `-Wmaybe-uninitialized` warnings in tests.
2022-11-14 21:23:08 -08:00
Pierre Wendling
6784d84c9d
N3DS: Fix `-Wformat` warnings in tests.
...
All warnings were about invalid specifiers. Since U/Sint32 is a long,
using `%d` emits a -Wformat warning.
2022-10-10 08:50:59 -07:00
Anonymous Maarten
b771d9beec
tests: avoid MSVC preaching about unsafe functions
2022-10-08 23:41:07 +02:00
Sam Lantinga
aaec244cfd
Don't run the stdio automated tests if libc isn't available
2022-08-10 09:05:55 -07:00
Ryan C. Gordon
da66755450
Fixed up legacy MoinMoin URLs at wiki.libsdl.org
...
Fixes #4064 .
2021-04-01 12:20:33 -04:00
Ryan C. Gordon
2542977b0a
Revert "Update wiki.libsdl.org urls to libsdl-org/SDL/wiki ( #4069 )"
...
This reverts commit 82a96afa70
.
We ended up not moving to GitHub's wiki after all and built
https://github.com/icculus/ghwikipp to fill the gap...since the wiki is
back at https://wiki.libsdl.org/ , put back the original URLs.
2021-04-01 12:15:28 -04:00
Erik Yuzwa
82a96afa70
Update wiki.libsdl.org urls to libsdl-org/SDL/wiki ( #4069 )
2021-02-13 11:49:31 -05:00
Ozkan Sezer
4953e050f5
use SDL_zeroa at more places where the argument is an array.
2019-07-31 05:11:40 +03:00
Ryan C. Gordon
ae667da638
Fixed a bunch of compiler warnings.
2017-08-29 15:52:49 -04:00
Ryan C. Gordon
70c8bd2481
Fixed a bunch of compiler warnings in the test code.
2017-01-07 22:24:45 -05: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