summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-19 08:31:43 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-19 08:31:43 -0700
commit7f24395889832c9ce51bae69054c7d081d77f65a (patch)
tree36fb8f5f313321b73af851253d1fa7d62310b6f6 /indra/newview/lldrawpoolalpha.cpp
parent0728a31a8ff3d2f9272c2d8c47420cf46ce5ad82 (diff)
SL-11318
Make alpha pass start with no shader bound. Make diffuse mode alpha-blended fullbrights get into alpha pass properly.
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-rw-r--r--indra/newview/lldrawpoolalpha.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp
index d671a5968f..da0467315f 100644
--- a/indra/newview/lldrawpoolalpha.cpp
+++ b/indra/newview/lldrawpoolalpha.cpp
@@ -226,6 +226,9 @@ void LLDrawPoolAlpha::beginRenderPass(S32 pass)
}
}
gPipeline.enableLightsDynamic();
+
+ LLGLSLShader::bindNoShader();
+ current_shader = NULL;
}
void LLDrawPoolAlpha::endRenderPass( S32 pass )