From: kiwixz Date: Tue, 11 Apr 2023 18:07:46 +0000 (+0200) Subject: Fix compilation on macOS X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9fe4c204bf70b62ce92a7c2114414a16e80b974b;p=xonotic%2Fdarkplaces.git Fix compilation on macOS It has been broken since 2a97ec851bd607510e33148335fc61d51e7138cf. Signed-off-by: kiwixz --- diff --git a/vid_sdl.c b/vid_sdl.c index 1c3fb4dd..5b581c5d 100644 --- 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) {