summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-07-18 12:18:07 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-07-18 12:18:07 -0500
commita0089c432ac9008f5d2f7ef2a332afa10c5a2615 (patch)
tree17a6cd7cc35de03603ec49a434245209936c35d7 /indra
parent2f8f1c7a44f45490db5b5f040914e42aef2f5280 (diff)
SL-19954 Fix for rigged alpha pbr sometimes not getting reflection probe parameters
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolalpha.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp
index 07b7be0fc8..65c7c1413b 100644
--- a/indra/newview/lldrawpoolalpha.cpp
+++ b/indra/newview/lldrawpoolalpha.cpp
@@ -204,6 +204,10 @@ void LLDrawPoolAlpha::renderPostDeferred(S32 pass)
prepare_alpha_shader(pbr_shader, false, true, water_sign);
+ // explicitly unbind here so render loop doesn't make assumptions about the last shader
+ // already being setup for rendering
+ LLGLSLShader::unbind();
+
if (!LLPipeline::sRenderingHUDs)
{
// first pass, render rigged objects only and render to depth buffer