diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llhudeffectpointat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llhudeffectpointat.cpp b/linden/indra/newview/llhudeffectpointat.cpp index 7ab03f2..2396e1a 100644 --- a/linden/indra/newview/llhudeffectpointat.cpp +++ b/linden/indra/newview/llhudeffectpointat.cpp | |||
@@ -328,13 +328,13 @@ void LLHUDEffectPointAt::render() | |||
328 | update(); | 328 | update(); |
329 | if (sDebugPointAt && mTargetType != POINTAT_TARGET_NONE) | 329 | if (sDebugPointAt && mTargetType != POINTAT_TARGET_NONE) |
330 | { | 330 | { |
331 | LLGLSNoTexture gls_no_texture; | 331 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
332 | 332 | ||
333 | LLVector3 target = mTargetPos + mSourceObject->getRenderPosition(); | 333 | LLVector3 target = mTargetPos + mSourceObject->getRenderPosition(); |
334 | gGL.pushMatrix(); | 334 | gGL.pushMatrix(); |
335 | gGL.translatef(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(LLRender::LINES); |
338 | { | 338 | { |
339 | gGL.color3f(1.f, 0.f, 0.f); | 339 | gGL.color3f(1.f, 0.f, 0.f); |
340 | gGL.vertex3f(-1.f, 0.f, 0.f); | 340 | gGL.vertex3f(-1.f, 0.f, 0.f); |