diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-05-11 11:31:09 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-05-11 11:31:09 -0700 |
commit | 7d0903533c20a395e12c2d4c290fcde3ec6b2a53 (patch) | |
tree | 2f7ebdf065d34a7610560ef4c6c0282cae4c5865 /indra/newview/lldrawpoolalpha.cpp | |
parent | 69d444826d1feb58ae48f893083e22c01a50a93f (diff) |
SL-19236: Fix HUDs not rendering when transparent water graphics setting is off
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-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 ec57e20d35..f8d2a9e942 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -157,7 +157,7 @@ void LLDrawPoolAlpha::renderPostDeferred(S32 pass) { LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWPOOL; - if ((!LLPipeline::sRenderTransparentWater || gCubeSnapshot) && getType() == LLDrawPool::POOL_ALPHA_PRE_WATER) + if (LLPipeline::isWaterClip() && getType() == LLDrawPool::POOL_ALPHA_PRE_WATER) { // don't render alpha objects on the other side of the water plane if water is opaque return; } |