Remove useless SDL_Init() flag

This commit is contained in:
Jonas Kulla 2013-10-13 23:07:40 +02:00
parent 23e712a730
commit 8b9c501249
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ int main(int, char *argv[])
conf.read(); conf.read();
conf.readGameINI(); conf.readGameINI();
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) < 0) if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0)
{ {
qDebug() << "Error initializing SDL:" << SDL_GetError(); qDebug() << "Error initializing SDL:" << SDL_GetError();
return 0; return 0;