fixed m_inputGrabbed initialization
git-svn-id: svn://anubis/anaglym/trunk@58 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
a34e96d73f
commit
426d046dbc
2
Video.cc
2
Video.cc
@ -50,7 +50,7 @@ void Video::start(int width, int height, bool fullscreen, bool grab_input)
|
|||||||
SDL_ShowCursor(SDL_DISABLE);
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
SDL_WM_GrabInput(SDL_GRAB_ON);
|
SDL_WM_GrabInput(SDL_GRAB_ON);
|
||||||
}
|
}
|
||||||
m_inputGrabbed = true;
|
m_inputGrabbed = grab_input;
|
||||||
m_fullscreen = fullscreen;
|
m_fullscreen = fullscreen;
|
||||||
|
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user