summaryrefslogtreecommitdiff
path: root/test/testgamecontroller.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2020-04-08 09:02:02 -0700
committerSam Lantinga <slouken@libsdl.org>2020-04-08 09:02:02 -0700
commitc812d57050533aefe0dd8e903120561574309151 (patch)
treee69c52e0013d7a4aa262f8f410e80e768cbb9ffa /test/testgamecontroller.c
parentf6b5e5e10d2d8ef02640d7696db1f64a7671a7a7 (diff)
downloadsdl-c812d57050533aefe0dd8e903120561574309151.tar.gz
Removed debug code
Diffstat (limited to 'test/testgamecontroller.c')
-rw-r--r--test/testgamecontroller.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/testgamecontroller.c b/test/testgamecontroller.c
index e23dedc13..9fd5eb504 100644
--- a/test/testgamecontroller.c
+++ b/test/testgamecontroller.c
@@ -261,8 +261,6 @@ main(int argc, char *argv[])
/* Enable standard application logging */
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
- SDL_SetHint( SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1" );
-
/* Initialize SDL (Note: video is required to start event loop) */
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER ) < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError());