mirror of https://github.com/nzp-team/fteqw.git
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:
parent
333339782b
commit
794ac6d3d3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue