diff options
author | Dave Parks <davep@lindenlab.com> | 2011-06-08 15:31:10 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-06-08 15:31:10 -0500 |
commit | 7d49f7af5843ae812617dd979fc61ad8ec0cd3c4 (patch) | |
tree | 02a0086bfb148e49c146c3e10489f1fe81019555 /indra/newview/llviewerdisplay.cpp | |
parent | 280caa290253d92cc8f5f283c340d79639a9b178 (diff) |
SH-1785 Fix for hud attachments not rendering properly with indexed texture rendering.
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index 5dadd2c33b..f725f0fe86 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -996,8 +996,7 @@ void render_hud_attachments() S32 use_occlusion = LLPipeline::sUseOcclusion; LLPipeline::sUseOcclusion = 0; - LLPipeline::sDisableShaders = TRUE; - + //cull, sort, and render hud objects static LLCullResult result; LLSpatialGroup::sNoDelete = TRUE; @@ -1037,7 +1036,6 @@ void render_hud_attachments() gPipeline.toggleRenderDebugFeature((void*) LLPipeline::RENDER_DEBUG_FEATURE_UI); } LLPipeline::sUseOcclusion = use_occlusion; - LLPipeline::sDisableShaders = FALSE; } glMatrixMode(GL_PROJECTION); glPopMatrix(); |