summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolterrain.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-02-13 17:04:59 -0800
committerRider Linden <rider@lindenlab.com>2019-02-13 17:04:59 -0800
commite9777048751c73819e85257a6e7b0d0608fd6c39 (patch)
treec625f4e5c04f0882df16308b38ada6fd4d1e02e4 /indra/newview/lldrawpoolterrain.cpp
parent98d6d1969be08f16a5d565b544f46c8a13fb4db5 (diff)
parent07d509bce6dc06a7ef8b3a640d622d1ed44ae3cc (diff)
Merge
Diffstat (limited to 'indra/newview/lldrawpoolterrain.cpp')
-rw-r--r--indra/newview/lldrawpoolterrain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolterrain.cpp b/indra/newview/lldrawpoolterrain.cpp
index ba2b00ee4e..e676b8d9f9 100644
--- a/indra/newview/lldrawpoolterrain.cpp
+++ b/indra/newview/lldrawpoolterrain.cpp
@@ -222,7 +222,7 @@ void LLDrawPoolTerrain::beginDeferredPass(S32 pass)
LL_RECORD_BLOCK_TIME(FTM_RENDER_TERRAIN);
LLFacePool::beginRenderPass(pass);
- sShader = &gDeferredTerrainProgram;
+ sShader = LLPipeline::sUnderWaterRender ? &gDeferredTerrainWaterProgram : &gDeferredTerrainProgram;
sShader->bind();
}