Commit Graph

4 Commits (ea2f5e59309b181e72d0af5eff699729e236a8d1)

Author SHA1 Message Date
Ryan C. Gordon deb2acbcd9 A simple test program for SDL_qsort(). 2016-03-10 01:50:43 -05:00
Ryan C. Gordon c3114975db Added SDL_GetDisplayUsableBounds(). 2016-01-04 23:52:40 -05: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