Don't initialize SDL video in Qt port

This commit is contained in:
Jeffrey Pfau 2014-10-18 23:16:13 -07:00
parent e84727c94b
commit 8fc3ef27ad
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ GameController::GameController(QObject* parent)
GBAInputMapInit(&m_threadContext.inputMap);
#ifdef BUILD_SDL
SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);
SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_NOPARACHUTE);
m_sdlEvents.bindings = &m_threadContext.inputMap;
GBASDLInitEvents(&m_sdlEvents);
SDL_JoystickEventState(SDL_QUERY);