]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_agl.c
audit of fullscreengrab in VID_SetMouse, getting rid of unnecessary
[xonotic/darkplaces.git] / vid_agl.c
index 2648ce27654f032cca4f44bcf1b79a665d5d7de1..88e33a16e68e8a60971561f4af2f8063c49aec89 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -109,7 +109,7 @@ void VID_GetWindowSize (int *x, int *y, int *width, int *height)
 void VID_SetMouse(qboolean fullscreengrab, qboolean relative, qboolean hidecursor)
 {
        if (!mouse_avail || !window)
-               fullscreengrab = relative = hidecursor = false;
+               relative = hidecursor = false;
 
        if (relative)
        {