summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 90615dc58..d2e9d278f 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -467,7 +467,7 @@ SDLState::SDLState() {
467 return; 467 return;
468 } 468 }
469 if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) { 469 if (SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1") == SDL_FALSE) {
470 LOG_ERROR(Input, "Failed to set Hint for background events", SDL_GetError()); 470 LOG_ERROR(Input, "Failed to set hint for background events with: {}", SDL_GetError());
471 } 471 }
472 472
473 SDL_AddEventWatch(&SDLEventWatcher, this); 473 SDL_AddEventWatch(&SDLEventWatcher, this);