From e4904d3fb03140d5481b6a87ec03bbc08bb95e9d Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Fri, 11 Oct 2019 01:31:29 +0200 Subject: [PATCH] Removed INIT_SENSOR from SDL2 initialization, to avoid older versions of SDL2 failing to initialize --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9970fda6..d09a5bc9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -811,8 +811,7 @@ static int real_main2(int argc, TCHAR** argv) | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER - | SDL_INIT_EVENTS - | SDL_INIT_SENSOR) != 0; + | SDL_INIT_EVENTS) != 0; #elif USE_SDL2 int ret = SDL_Init(SDL_INIT_EVERYTHING) != 0; #endif