lilium-voyager/code
Zack Middleton c6a61d212a Fix SDL2 losing event subsystem
Quiting SDL Video or Joystick subsystem implies quiting the Event subsystem in SDL2.
SDL keeps track of number of init and shutdown calls for each subsystem.
Shuting down video or joystick more or equal to number of times they're inited will lead to event shutdown.

Toggling in and out of fullscreen or running in_restart twice causes SDL event subsystem to shutdown, making input not work.

If the console is closed, IN_GobbleMotionEvents gets stuck in a loop. SDL_PeepEvents returns -1 when there is an error, but we assume non-0 means read more events.

IN_ShutdownJoystick needs to check if joystick subsystem was inited before quitting it, otherwise we may cause SDL event subsystem to shutdown.
2013-10-18 16:31:19 -05:00
..
AL 5882 - Update OpenAL Headers to OpenAL Soft 1.15.1 2013-02-17 07:34:41 -06:00
asm Fix some clang warnings 2013-03-12 21:50:59 +00:00
botlib clean up return statements a bit more 2013-05-30 15:43:21 -05:00
cgame Fix warning message in animation.cfg parsing functions 2013-09-04 15:51:34 -05:00
client Merge branch 'master' into sdl2 2013-08-16 23:34:08 +01:00
game Free bot client if cannot load bot 2013-09-08 21:59:58 -05:00
jpeg-8c Mark JPEG lib changes, file provided by Simon McVittie 2012-07-01 18:07:56 +00:00
libcurl/curl * add cURL support for HTTP/FTP downloading (bug 2661) 2006-09-11 16:41:55 +00:00
libogg-1.3.0 Fix last commit 2013-02-17 20:42:18 -06:00
libs More updates to SDL2 libs from MAN-AT-ARMS 2013-08-19 23:19:29 +01:00
libspeex Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
null Add renderercommon/tr_common.h 2013-02-16 20:58:04 +00:00
opus-1.0.2 Add libopus 1.0.2 and libopusfile 0.2 2013-02-17 18:33:39 -06:00
opusfile-0.2 Fix some clang warnings 2013-03-12 21:50:59 +00:00
q3_ui Fix warning message in animation.cfg parsing functions 2013-09-04 15:51:34 -05:00
qcommon Fix getting servers from and being listed on id's q3 master server 2013-07-07 16:31:36 -05:00
renderercommon Merge branch 'master' into sdl2 2013-09-16 22:34:51 +01:00
renderergl1 Merge branch 'master' into sdl2 2013-09-16 22:34:51 +01:00
renderergl2 Merge branch 'master' into sdl2 2013-09-16 22:34:51 +01:00
sdl Fix SDL2 losing event subsystem 2013-10-18 16:31:19 -05:00
SDL2/include Update SDL2 headers... oops 2013-08-20 18:30:56 +01:00
server Remove unused models from server_t 2013-07-11 23:26:30 -05:00
sys Merge branch 'master' into sdl2 2013-09-16 22:34:51 +01:00
tools drop some useless return statements 2013-05-30 15:43:21 -05:00
ui Fix warning message in animation.cfg parsing functions 2013-09-04 15:51:34 -05:00
zlib drop some useless return statements 2013-05-30 15:43:21 -05:00