summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-04-15 14:13:15 -0500
committerDave Parks <davep@lindenlab.com>2013-04-15 14:13:15 -0500
commit7ed3d61ded42a557b698eb6cb497a3f6e3c667e7 (patch)
tree484ea75883f2c8953f94c3b67acf89fcc2196bd1 /indra/newview/pipeline.cpp
parentd8f2ecd5b3f0cb8475fa1d092cc7a315ca1e8ca9 (diff)
parent359b6cad5b8ae2a88927d53eaa12b58a126e0d1c (diff)
Automated merge with https://bitbucket.org/lindenlab/viewer-development-materials
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 89df61919e..c074a0e16e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -9023,6 +9023,9 @@ void LLPipeline::renderShadow(glh::matrix4f& view, glh::matrix4f& proj, LLCamera
LLGLEnable cull(GL_CULL_FACE);
+ //enable depth clamping if available
+ LLGLEnable depth_clamp(gGLManager.mHasDepthClamp ? GL_DEPTH_CLAMP : 0);
+
if (use_shader)
{
gDeferredShadowCubeProgram.bind();