From f858ad6bfbae0d3c145d1f3b527acb29f3823bda Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Thu, 26 Feb 2015 19:46:06 +0100 Subject: [PATCH] Make it compile with SDL 2.0.1 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index eb07970..5d654e9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -169,7 +169,7 @@ static void showInitError(const std::string &msg) int main(int argc, char *argv[]) { SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); - SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); +// SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, "0"); /* initialize SDL first */ if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0)