diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-12-05 19:50:25 -0600 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-12-05 19:50:25 -0600 |
commit | c28eb36a2c09f31f491676c8548dfa1c19277ce2 (patch) | |
tree | 18dfbcfbb2a1321c6865d198382059d8b1cdc3ff /indra/newview/pipeline.cpp | |
parent | 1718fe5da2e19ddbe9a738eef273112632e5dd35 (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.cpp | 5 |
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); |