From df2b3b6b175ae0a5dd24426a8c612820898d7da0 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 --- source/common/platform/posix/cocoa/i_input.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/common/platform/posix/cocoa/i_input.mm b/source/common/platform/posix/cocoa/i_input.mm index 3b562bcb8..9c09cbced 100644 --- a/source/common/platform/posix/cocoa/i_input.mm +++ b/source/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 = {};