mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 05:31:29 +00:00
c6a61d212a
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. |
||
---|---|---|
.. | ||
AL | ||
asm | ||
botlib | ||
cgame | ||
client | ||
game | ||
jpeg-8c | ||
libcurl/curl | ||
libogg-1.3.0 | ||
libs | ||
libspeex | ||
null | ||
opus-1.0.2 | ||
opusfile-0.2 | ||
q3_ui | ||
qcommon | ||
renderercommon | ||
renderergl1 | ||
renderergl2 | ||
sdl | ||
SDL2/include | ||
server | ||
sys | ||
tools | ||
ui | ||
zlib |