Make it compile with SDL 2.0.1

This commit is contained in:
Jonas Kulla 2015-02-26 19:46:06 +01:00
parent 29ebd3e303
commit f858ad6bfb
1 changed files with 1 additions and 1 deletions

View File

@ -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)