mirror of https://github.com/encounter/SDL.git
Whoops, make the hint actually default to false
This commit is contained in:
parent
13a4caf1d7
commit
9ee0e8886c
|
@ -365,7 +365,7 @@ WINDOWS_JoystickInit(void)
|
||||||
|
|
||||||
WINDOWS_JoystickDetect();
|
WINDOWS_JoystickDetect();
|
||||||
|
|
||||||
s_bJoystickThread = SDL_GetHintBoolean(SDL_HINT_JOYSTICK_THREAD, SDL_TRUE);
|
s_bJoystickThread = SDL_GetHintBoolean(SDL_HINT_JOYSTICK_THREAD, SDL_FALSE);
|
||||||
if (s_bJoystickThread) {
|
if (s_bJoystickThread) {
|
||||||
if (SDL_StartJoystickThread() < 0) {
|
if (SDL_StartJoystickThread() < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue