]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix compilation on macOS
authorkiwixz <kiwixz@outlook.com>
Tue, 11 Apr 2023 18:07:46 +0000 (20:07 +0200)
committerkiwixz <kiwixz@outlook.com>
Tue, 11 Apr 2023 18:07:46 +0000 (20:07 +0200)
It has been broken since 2a97ec851bd607510e33148335fc61d51e7138cf.

Signed-off-by: kiwixz <kiwixz@outlook.com>
vid_sdl.c

index 1c3fb4dd093f825384f89462422eb5e3600856a5..5b581c5d2ad4c291b3af1a0dbc9dbe4d2e839284 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -378,7 +378,7 @@ void VID_SetMouse(qbool relative, qbool hidecursor)
 #ifdef MACOSX
        if(relative)
                if(vid_usingmouse && (vid_usingnoaccel != !!apple_mouse_noaccel.integer))
-                       VID_SetMouse(false, false, false); // ungrab first!
+                       VID_SetMouse(false, false); // ungrab first!
 #endif
        if (vid_usingmouse != relative)
        {