diff --git a/indra/newview/llhudeffectlookat.cpp b/indra/newview/llhudeffectlookat.cpp index bce72e334b..36c0d2fe83 100644 --- a/indra/newview/llhudeffectlookat.cpp +++ b/indra/newview/llhudeffectlookat.cpp @@ -592,10 +592,9 @@ void LLHUDEffectLookAt::render() break; } - gViewerWindow->setup3DRender(); + gGL.pushMatrix(); hud_render_utf8text(name,position,*fontp,LLFontGL::NORMAL,LLFontGL::DROP_SHADOW,-0.5*fontp->getWidthF32(name),3.0,lookAtColor,FALSE); - gGL.end(); - glPopMatrix(); + gGL.popMatrix(); } // render crosshair