diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-04 03:13:57 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-05 17:17:30 +0200 |
| commit | 47b8fb780ef078d62c125821a6143a56e9b0280d (patch) | |
| tree | d935e4f0c8e18f29457b6b6e38e11dafb7911472 | |
| parent | d53f385fae39b30ef31b40379160c26ad97a5af6 (diff) | |
secondlife/viewer#5007 Fix alpha debug overlay blend and mask conflict and alpha debug overlay rendering twice
Signed-off-by: Rye <rye@alchemyviewer.org>
| -rw-r--r-- | indra/newview/lldrawpoolalpha.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index bc45734e66..9d1b11880b 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -267,7 +267,7 @@ void LLDrawPoolAlpha::forwardRender(bool rigged) gGL.setColorMask(true, false); - if (!rigged) + if (!rigged && getType() == LLDrawPoolAlpha::POOL_ALPHA_POST_WATER) { //render "highlight alpha" on final non-rigged pass // NOTE -- hacky call here protected by !rigged instead of alongside "forwardRender" // so renderDebugAlpha is executed while gls_pipeline_alpha and depth GL state |
