summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-10-06 15:00:14 -0500
committerDave Parks <davep@lindenlab.com>2011-10-06 15:00:14 -0500
commit40fe25632c62ab6a8bbb817149c159295b365d59 (patch)
tree90d5930ba7abb4c6893074082624667eeb7d82da /indra/newview
parente76eaa8b2a1f49e45d009379aaf36f8e62b6273a (diff)
SH-2553 Fix for glitches when rendering HUD attachments.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerdisplay.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 835f16d086..7220f2a20f 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1359,7 +1359,12 @@ void render_ui_3d()
}
stop_glerror();
-
+
+ if (LLGLSLShader::sNoFixedFunction)
+ {
+ gUIProgram.bind();
+ }
+
gViewerWindow->renderSelections(FALSE, FALSE, TRUE); // Non HUD call in render_hud_elements
stop_glerror();
}