summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
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);