diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerdisplay.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerdisplay.cpp b/linden/indra/newview/llviewerdisplay.cpp index 8e066c8..5e1cf80 100644 --- a/linden/indra/newview/llviewerdisplay.cpp +++ b/linden/indra/newview/llviewerdisplay.cpp | |||
@@ -610,7 +610,8 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) | |||
610 | gFrameStats.start(LLFrameStats::UPDATE_CULL); | 610 | gFrameStats.start(LLFrameStats::UPDATE_CULL); |
611 | S32 water_clip = 0; | 611 | S32 water_clip = 0; |
612 | if ((LLViewerShaderMgr::instance()->getVertexShaderLevel(LLViewerShaderMgr::SHADER_ENVIRONMENT) > 1) && | 612 | if ((LLViewerShaderMgr::instance()->getVertexShaderLevel(LLViewerShaderMgr::SHADER_ENVIRONMENT) > 1) && |
613 | gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_WATER)) | 613 | (gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_WATER) || |
614 | gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_VOIDWATER))) | ||
614 | { | 615 | { |
615 | if (LLViewerCamera::getInstance()->cameraUnderWater()) | 616 | if (LLViewerCamera::getInstance()->cameraUnderWater()) |
616 | { | 617 | { |