Sam Lantinga
45b774e3f7
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Philipp Wiesemann
062ca2b261
Removed empty statement.
2016-11-05 21:22:39 +01:00
Ryan C. Gordon
0f83ae0fd9
Added some debug logging to print out every event added to the SDL queue.
2016-11-03 01:29:56 -04:00
Sam Lantinga
5c2320f113
Fixed bug 3022 - SDL_UnlockMutex(SDL_EventQ.lock) in SDL_PeepEvents can cause error when lock is null
2016-10-07 17:58:02 -07:00
Sam Lantinga
6303941ac1
Fixed infinite timeout in SDL_WaitEventTimeout() - thanks ?????????? ????????
2016-03-08 13:55:50 -08:00
Sam Lantinga
1fb30db048
Return the full number of events from SDL_PeepEvents() if NULL is passed in with SDL_PEEKEVENT
2016-01-31 11:29:11 -08:00
Ryan C. Gordon
fa8c83c1c1
Remove almost all instances of "volatile" keyword.
...
As Tiffany pointed out in Bugzilla, volatile is not useful for thread safety:
https://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/
Some of these volatiles didn't need to be, some were otherwise protected by
spinlocks or mutexes, and some got moved over to SDL_atomic_t data, etc.
Fixes Bugzilla #3220 .
2016-01-03 06:50:50 -05:00
Sam Lantinga
42065e785d
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
2b0140a91f
Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.
2015-10-27 11:17:32 -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