summaryrefslogtreecommitdiff
path: root/indra/newview/llhudeffectpointat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llhudeffectpointat.cpp')
-rw-r--r--indra/newview/llhudeffectpointat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llhudeffectpointat.cpp b/indra/newview/llhudeffectpointat.cpp
index 93344db622..310b0331c9 100644
--- a/indra/newview/llhudeffectpointat.cpp
+++ b/indra/newview/llhudeffectpointat.cpp
@@ -331,8 +331,8 @@ void LLHUDEffectPointAt::render()
LLGLSNoTexture gls_no_texture;
LLVector3 target = mTargetPos + mSourceObject->getRenderPosition();
- glPushMatrix();
- glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
+ gGL.pushMatrix();
+ gGL.translatef(target.mV[VX], target.mV[VY], target.mV[VZ]);
glScalef(0.3f, 0.3f, 0.3f);
gGL.begin(LLVertexBuffer::LINES);
{
@@ -346,7 +346,7 @@ void LLHUDEffectPointAt::render()
gGL.vertex3f(0.f, 0.f, -1.f);
gGL.vertex3f(0.f, 0.f, 1.f);
} gGL.end();
- glPopMatrix();
+ gGL.popMatrix();
}
}