fixed m_inputGrabbed initialization

git-svn-id: svn://anubis/anaglym/trunk@58 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-10-09 17:27:20 +00:00
parent a34e96d73f
commit 426d046dbc

View File

@ -50,7 +50,7 @@ void Video::start(int width, int height, bool fullscreen, bool grab_input)
SDL_ShowCursor(SDL_DISABLE);
SDL_WM_GrabInput(SDL_GRAB_ON);
}
m_inputGrabbed = true;
m_inputGrabbed = grab_input;
m_fullscreen = fullscreen;
glEnable(GL_DEPTH_TEST);