From 426d046dbc0aca9a731e442650e2b166e7701142 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 9 Oct 2009 17:27:20 +0000 Subject: [PATCH] fixed m_inputGrabbed initialization git-svn-id: svn://anubis/anaglym/trunk@58 99a6e188-d820-4881-8870-2d33a10e2619 --- Video.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Video.cc b/Video.cc index f576047..cfd8005 100644 --- a/Video.cc +++ b/Video.cc @@ -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);