summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llreflectionmapmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp
index db6622239d..34055653d4 100644
--- a/indra/newview/llreflectionmapmanager.cpp
+++ b/indra/newview/llreflectionmapmanager.cpp
@@ -67,7 +67,7 @@ struct CompareProbeDistance
// helper class to seed octree with probes
void LLReflectionMapManager::update()
{
- if (!LLPipeline::sRenderDeferred || gTeleportDisplay)
+ if (!LLPipeline::sRenderPBR || gTeleportDisplay)
{
return;
}
@@ -634,6 +634,7 @@ void LLReflectionMapManager::updateUniforms()
void LLReflectionMapManager::setUniforms()
{
+ llassert(LLPipeline::sRenderPBR);
if (mUBO == 0)
{
updateUniforms();
@@ -644,7 +645,6 @@ void LLReflectionMapManager::setUniforms()
void renderReflectionProbe(LLReflectionMap* probe)
{
-
F32* po = probe->mOrigin.getF32ptr();
//draw orange line from probe to neighbors