summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authortrish-sl <sl.trish.ace@gmail.com>2026-06-11 11:17:31 -0400
committerGitHub <noreply@github.com>2026-06-11 18:17:31 +0300
commit2052be7531b7b76dd4bc50515b0dad106d90354d (patch)
tree9a23a03591d329c089b3b6feb37674a597d2345f /indra
parent02bb6c4b677e58a2513b238e5f5d41815e546d15 (diff)
#5874 Fix transparent highlights omitting HUDs
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolalpha.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp
index 9d1b11880b..8755120920 100644
--- a/indra/newview/lldrawpoolalpha.cpp
+++ b/indra/newview/lldrawpoolalpha.cpp
@@ -267,8 +267,8 @@ void LLDrawPoolAlpha::forwardRender(bool rigged)
gGL.setColorMask(true, false);
- if (!rigged && getType() == LLDrawPoolAlpha::POOL_ALPHA_POST_WATER)
- { //render "highlight alpha" on final non-rigged pass
+ if (!rigged && (LLPipeline::sRenderingHUDs || getType() == LLDrawPoolAlpha::POOL_ALPHA_POST_WATER))
+ { //render "highlight alpha" on final non-rigged pass for non-HUDs (HUDs only run pre-water alpha pass)
// NOTE -- hacky call here protected by !rigged instead of alongside "forwardRender"
// so renderDebugAlpha is executed while gls_pipeline_alpha and depth GL state
// variables above are still in scope
@@ -278,7 +278,7 @@ void LLDrawPoolAlpha::forwardRender(bool rigged)
void LLDrawPoolAlpha::renderDebugAlpha()
{
- if (sShowDebugAlpha && !gCubeSnapshot)
+ if (sShowDebugAlpha && !gCubeSnapshot && !LLPipeline::sReflectionRender)
{
gHighlightProgram.bind();
gGL.diffuseColor4f(1, 0, 0, 1);