]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't ungrab mouse in loading screens in fullscreen
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2008 17:58:03 +0000 (17:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2008 17:58:03 +0000 (17:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8292 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 9dbeb5620b4084d3835a11f72c556ea0d0d94dfa..fb52f0410a96270f34eaef99670e4e2fb4ecec31 100644 (file)
@@ -2038,7 +2038,8 @@ void SCR_UpdateLoadingScreen (qboolean clear)
        if (vid_hidden || !scr_refresh.integer)
                return;
        // release mouse grab while loading
-       VID_GrabMouse(false);
+       if (!vid.fullscreen)
+               VID_GrabMouse(false);
        CHECKGLERROR
        qglViewport(0, 0, vid.width, vid.height);CHECKGLERROR
        //qglDisable(GL_SCISSOR_TEST);CHECKGLERROR