diff options
author | jonathanwolk@149.2.168.192.in-addr.arpa <jonathanwolk@149.2.168.192.in-addr.arpa> | 2010-06-23 16:14:22 -0700 |
---|---|---|
committer | jonathanwolk@149.2.168.192.in-addr.arpa <jonathanwolk@149.2.168.192.in-addr.arpa> | 2010-06-23 16:14:22 -0700 |
commit | be059c2111d1eb880a8b0e5565690ff528d30587 (patch) | |
tree | d20fd8dd4842058b582d84e91097b220ccdc8959 /indra/newview | |
parent | 8d301676c23b7ca12cc42c80dcd5aa5838d68541 (diff) |
Fix for EXT-6954 'rendering artifact when editing an object.' Reviewed by qarl
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llmanip.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llmanip.cpp b/indra/newview/llmanip.cpp index 957e88960d..a43118755e 100644 --- a/indra/newview/llmanip.cpp +++ b/indra/newview/llmanip.cpp @@ -435,12 +435,12 @@ void LLManip::renderXYZ(const LLVector3 &vec) S32 vertical_offset = window_center_y - VERTICAL_OFFSET; - glPushMatrix(); + gGL.pushMatrix(); { LLUIImagePtr imagep = LLUI::getUIImage("Rounded_Square"); gViewerWindow->setup2DRender(); const LLVector2& display_scale = gViewerWindow->getDisplayScale(); - glScalef(display_scale.mV[VX], display_scale.mV[VY], 1.f); + gGL.scalef(display_scale.mV[VX], display_scale.mV[VY], 1.f); gGL.color4f(0.f, 0.f, 0.f, 0.7f); imagep->draw( @@ -450,7 +450,7 @@ void LLManip::renderXYZ(const LLVector3 &vec) PAD * 2 + 10, LLColor4(0.f, 0.f, 0.f, 0.7f) ); } - glPopMatrix(); + gGL.popMatrix(); gViewerWindow->setup3DRender(); |