summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHecklezz <tj8@live.com.au>2025-11-24 06:09:02 +1000
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-24 19:06:53 +0200
commit18e152eba86565dd4a36f8207fe44e0a278ce386 (patch)
treec794308e9759ccc72dfe9040dabeac784a47440c
parentf00a03b796dd667024dd0d931096cedd9554fcbe (diff)
Fixed LLWindowMacOSX::setCursorPosition scaling gl_pos when it shouldn't
Signed-off-by: Hecklezz <tj8@live.com.au>
-rw-r--r--indra/llwindow/llwindowmacosx.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index e37fe11671..f8920318d3 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -1259,9 +1259,6 @@ bool LLWindowMacOSX::setCursorPosition(const LLCoordWindow position)
// trigger mouse move callback
LLCoordGL gl_pos;
convertCoords(position, &gl_pos);
- float scale = getSystemUISize();
- gl_pos.mX *= scale;
- gl_pos.mY *= scale;
mCallbacks->handleMouseMove(this, gl_pos, (MASK)0);
return result;