summaryrefslogtreecommitdiff
path: root/indra/newview/llhudeffectbeam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llhudeffectbeam.cpp')
-rw-r--r--indra/newview/llhudeffectbeam.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llhudeffectbeam.cpp b/indra/newview/llhudeffectbeam.cpp
index ec5a0926c4..8abad3d292 100644
--- a/indra/newview/llhudeffectbeam.cpp
+++ b/indra/newview/llhudeffectbeam.cpp
@@ -297,11 +297,11 @@ void LLHUDEffectBeam::render()
coloru.mV[3] = (U8)alpha;
gGL.color4ubv(coloru.mV);
- glPushMatrix();
- glTranslatef(pos_agent.mV[0], pos_agent.mV[1], pos_agent.mV[2]);
- glScalef(scale, scale, scale);
+ gGL.pushMatrix();
+ gGL.translatef(pos_agent.mV[0], pos_agent.mV[1], pos_agent.mV[2]);
+ gGL.scalef(scale, scale, scale);
gSphere.render();
- glPopMatrix();
+ gGL.popMatrix();
}
}