Commit Graph

4 Commits

Author SHA1 Message Date
Ozkan Sezer 8a355116d1 silence -Wwrite-strings in visualtest 2021-12-21 20:01:02 +03:00
Sylvain 5699e0fa0c visualtest: use SDL_malloc 2021-11-22 08:38:46 -08:00
Ryan C. Gordon abe2c0f1b1 license: Fixed references to COPYING.txt that are now LICENSE.txt.
Fixes #4108
2021-02-18 11:07:26 -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