summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-22 11:01:18 -0600
committerDave Parks <davep@lindenlab.com>2023-02-22 11:01:18 -0600
commit65d69ce80dca112ea0bfd06f2749d4d6fcb366b4 (patch)
tree30c5e6f3ad1bc0b4d9ce32334695b0499fce434f /indra/newview/llreflectionmapmanager.cpp
parent0336c1a06de89937d5c0f971e06270afc868ddfa (diff)
DRTVWR-559 Fix for stall in probe occlusion culling and fix for culled neighbors getting sampled (badly).
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r--indra/newview/llreflectionmapmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp
index bfc8b595c2..608585acf5 100644
--- a/indra/newview/llreflectionmapmanager.cpp
+++ b/indra/newview/llreflectionmapmanager.cpp
@@ -862,7 +862,7 @@ void LLReflectionMapManager::updateUniforms()
}
GLint idx = neighbor->mProbeIndex;
- if (idx == -1)
+ if (idx == -1 || neighbor->mOccluded)
{
continue;
}