diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-06 08:09:31 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-06 08:09:31 +0800 |
commit | 57f91acf044a3cf2c8a0175aab10fbb7b1e90a7f (patch) | |
tree | 805c3e55d83094fa2010ee66bcd2b6a204736f42 /indra/llui/llui.cpp | |
parent | 29d68ecb229ecb19e6d0da4cf5fbd8e3bbdde2cf (diff) | |
parent | 8662083cf4130922732aa8fba655310664b80d8b (diff) |
Merge branch 'main' into maint-b
Diffstat (limited to 'indra/llui/llui.cpp')
-rw-r--r-- | indra/llui/llui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp index 35e2e54217..c3dd2eb17a 100644 --- a/indra/llui/llui.cpp +++ b/indra/llui/llui.cpp @@ -223,7 +223,7 @@ void LLUI::getMousePositionScreen(S32 *x, S32 *y) LLCoordGL cursor_pos_gl(cursor_pos_window.convert()); *x = ll_round((F32)cursor_pos_gl.mX / getScaleFactor().mV[VX]); *y = ll_round((F32)cursor_pos_gl.mY / getScaleFactor().mV[VY]); -#if defined(LL_DARWIN) +#if defined(LL_SDL) *x = *x * LLView::getWindow()->getSystemUISize(); *y = *y * LLView::getWindow()->getSystemUISize(); #endif |