Commit Graph

55 Commits

Author SHA1 Message Date
Philipp Wiesemann eb57d75242 Added missing SDL_Quit() in test program. 2015-08-09 20:01:01 +02:00
Ryan C. Gordon 344fbe61b3 testdisplayinfo.c forgot to SDL_Quit() at the end. 2015-08-07 01:00:14 -04:00
Philipp Wiesemann 8bbded2583 Fixed comment in test program. 2015-07-15 21:10:38 +02:00
Ryan C. Gordon b7ecc67009 Added test/testdisplayinfo.c 2015-07-14 21:28:26 -04: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