summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-12-05 19:50:25 -0600
committerRunitaiLinden <davep@lindenlab.com>2023-12-05 19:50:25 -0600
commitc28eb36a2c09f31f491676c8548dfa1c19277ce2 (patch)
tree18dfbcfbb2a1321c6865d198382059d8b1cdc3ff /indra/newview/pipeline.cpp
parent1718fe5da2e19ddbe9a738eef273112632e5dd35 (diff)
SL-20654 Fix for box probes sometimes glitching out at the corners. Incidental fix for crash when mWaterPool is null.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 50cd4adb73..bf4f0083ff 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -8303,7 +8303,10 @@ void LLPipeline::doWaterHaze()
gGLLastMatrix = NULL;
gGL.loadMatrix(gGLModelView);
- mWaterPool->pushFaceGeometry();
+ if (mWaterPool)
+ {
+ mWaterPool->pushFaceGeometry();
+ }
}
unbindDeferredShader(haze_shader);