From 8b9c50124957d910552b20e66ed007e584e878ea Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sun, 13 Oct 2013 23:07:40 +0200 Subject: [PATCH] Remove useless SDL_Init() flag --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 0508cf9..fae508e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -122,7 +122,7 @@ int main(int, char *argv[]) conf.read(); 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(); return 0;