summaryrefslogtreecommitdiff
path: root/indra/newview/llvowater.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-05-13 21:34:28 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-05-13 21:48:36 +0300
commit812e6285c55bd8ff03cf7bb1b5fbc5e04347f20d (patch)
tree78e506457beadd14345d8dc64f44a1b3b09fe81f /indra/newview/llvowater.cpp
parentdeb1c21a7aaabf035b8b86aa3860b259b411d12d (diff)
SL-12007 Toggling 'Transparent water' checkbox has no effect
Opaque water is not compatible with ALM
Diffstat (limited to 'indra/newview/llvowater.cpp')
-rw-r--r--indra/newview/llvowater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvowater.cpp b/indra/newview/llvowater.cpp
index ccda92810e..12def24a0d 100644
--- a/indra/newview/llvowater.cpp
+++ b/indra/newview/llvowater.cpp
@@ -145,7 +145,7 @@ BOOL LLVOWater::updateGeometry(LLDrawable *drawable)
static const unsigned int vertices_per_quad = 4;
static const unsigned int indices_per_quad = 6;
- const S32 size = gSavedSettings.getBOOL("RenderTransparentWater") && LLGLSLShader::sNoFixedFunction ? 16 : 1;
+ const S32 size = LLPipeline::sRenderTransparentWater && LLGLSLShader::sNoFixedFunction ? 16 : 1;
const S32 num_quads = size * size;
face->setSize(vertices_per_quad * num_quads,