]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
don't ungrab mouse in loading screens in fullscreen
[xonotic/darkplaces.git] / 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