From cc07c56c36a99ef4741da3b067d8d8fb19e99aaa Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 5 Jul 2020 11:32:45 +0300 Subject: [PATCH] - made mouse scaling in Cocoa backend match other platforms --- src/common/platform/posix/cocoa/i_input.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/platform/posix/cocoa/i_input.mm b/src/common/platform/posix/cocoa/i_input.mm index 3b562bcb8..9c09cbced 100644 --- a/src/common/platform/posix/cocoa/i_input.mm +++ b/src/common/platform/posix/cocoa/i_input.mm @@ -497,8 +497,7 @@ void ProcessMouseMoveInGame(NSEvent* theEvent) if (!m_noprescale) { - x *= 3; - y *= 2; + x <<= 2; } event_t event = {};