summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-08-23 17:07:03 -0700
committerRichard Linden <none@none>2012-08-23 17:07:03 -0700
commite6dc88241b58ebc1f05f96279f1f189b1d5e8885 (patch)
treefa875ffc9a353ea5eb1ce5aba1ab0a64313e2ca7 /indra/newview
parent13dee7ee295cdf607c599863d1164662e96a8e3a (diff)
MAINT-1474 FIXED World map tracking ring renders in incorrect position with UI scale != 1
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llworldmapview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp
index a3ccf87cfc..ccc513b80d 100644
--- a/indra/newview/llworldmapview.cpp
+++ b/indra/newview/llworldmapview.cpp
@@ -1320,7 +1320,7 @@ void LLWorldMapView::drawTrackingCircle( const LLRect& rect, S32 x, S32 y, const
gGL.matrixMode(LLRender::MM_MODELVIEW);
gGL.pushMatrix();
- gGL.translatef((F32)x, (F32)y, 0.f);
+ gGL.translatef((F32)x * LLUI::sGLScaleFactor.mV[VX], (F32)y * LLUI::sGLScaleFactor.mV[VY], 0.f);
gl_washer_segment_2d(inner_radius, outer_radius, start_theta, end_theta, 40, color, color);
gGL.popMatrix();