diff options
Diffstat (limited to 'linden/indra/newview/llhudeffectpointat.cpp')
-rw-r--r-- | linden/indra/newview/llhudeffectpointat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudeffectpointat.cpp b/linden/indra/newview/llhudeffectpointat.cpp index 8cd1023..7ab03f2 100644 --- a/linden/indra/newview/llhudeffectpointat.cpp +++ b/linden/indra/newview/llhudeffectpointat.cpp | |||
@@ -331,8 +331,8 @@ void LLHUDEffectPointAt::render() | |||
331 | LLGLSNoTexture gls_no_texture; | 331 | LLGLSNoTexture gls_no_texture; |
332 | 332 | ||
333 | LLVector3 target = mTargetPos + mSourceObject->getRenderPosition(); | 333 | LLVector3 target = mTargetPos + mSourceObject->getRenderPosition(); |
334 | glPushMatrix(); | 334 | gGL.pushMatrix(); |
335 | glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); | 335 | gGL.translatef(target.mV[VX], target.mV[VY], target.mV[VZ]); |
336 | glScalef(0.3f, 0.3f, 0.3f); | 336 | glScalef(0.3f, 0.3f, 0.3f); |
337 | gGL.begin(LLVertexBuffer::LINES); | 337 | gGL.begin(LLVertexBuffer::LINES); |
338 | { | 338 | { |
@@ -346,7 +346,7 @@ void LLHUDEffectPointAt::render() | |||
346 | gGL.vertex3f(0.f, 0.f, -1.f); | 346 | gGL.vertex3f(0.f, 0.f, -1.f); |
347 | gGL.vertex3f(0.f, 0.f, 1.f); | 347 | gGL.vertex3f(0.f, 0.f, 1.f); |
348 | } gGL.end(); | 348 | } gGL.end(); |
349 | glPopMatrix(); | 349 | gGL.popMatrix(); |
350 | } | 350 | } |
351 | } | 351 | } |
352 | 352 | ||