summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-23 15:19:56 -0600
committerDave Parks <davep@lindenlab.com>2023-02-23 15:19:56 -0600
commit63ae47d8fd479a3cb05ff1d2364d683975e1b052 (patch)
tree5e4412e30b5f5de9baeadae3de1fd14def8515ef /indra/newview/pipeline.cpp
parente5e94b5fa832c62dc0df239fdb4aefc23e559c0c (diff)
SL-19236 Fix for HUDs not rendering when transparent water is disabled.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 0ef89afe61..8d9a2a876e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -2286,7 +2286,7 @@ void LLPipeline::updateCull(LLCamera& camera, LLCullResult& result)
LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE; //LL_RECORD_BLOCK_TIME(FTM_CULL);
LL_PROFILE_GPU_ZONE("updateCull"); // should always be zero GPU time, but drop a timer to flush stuff out
- bool water_clip = !sRenderTransparentWater;
+ bool water_clip = !sRenderTransparentWater && !sRenderingHUDs;
if (water_clip)
{