forked from fte/fteqw
1
0
Fork 0

Don't leave the mouse grabbed if the video mode failed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2926 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-02-16 03:41:15 +00:00
parent 333339782b
commit 794ac6d3d3
1 changed files with 5 additions and 2 deletions

View File

@ -578,9 +578,12 @@ static qboolean CreateMainWindow(rendererstate_t *info)
{
TRACE(("dbg: GLVID_SetMode: VID_SetFullDIBMode\n"));
stat = VID_SetFullDIBMode(info);
if (stat)
{
IN_ActivateMouse ();
IN_HideMouse ();
}
}
return stat;
}
BOOL CheckForcePixelFormat(rendererstate_t *info);