Whoops, make the hint actually default to false

This commit is contained in:
Sam Lantinga 2020-12-12 22:11:00 -08:00
parent 13a4caf1d7
commit 9ee0e8886c
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ WINDOWS_JoystickInit(void)
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 (SDL_StartJoystickThread() < 0) {
return -1;