mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 02:01:03 +00:00
Work around SDL bug that causes little freezes, see #188
This commit is contained in:
parent
a2c99f9fca
commit
d6773d304f
1 changed files with 1 additions and 1 deletions
|
@ -2863,7 +2863,7 @@ void idCommonLocal::Init( int argc, char **argv ) {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
if (SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO))
|
||||
if (SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK)) // init joystick to work around SDL 2.0.9 bug #4391
|
||||
Sys_Error("Error while initializing SDL: %s", SDL_GetError());
|
||||
|
||||
Sys_InitThreads();
|
||||
|
|
Loading…
Reference in a new issue