diff options
author | Dave Parks <davep@lindenlab.com> | 2013-04-16 03:02:00 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-04-16 03:02:00 -0500 |
commit | d1f713f30bd4d42fe4696e25c01ab4532ef3b69b (patch) | |
tree | ea36b2c6565afd1bf4c00f36bea44a31cf0fce37 /indra/newview/pipeline.cpp | |
parent | fafa21315f043ab51e3373e825c85646685778a6 (diff) | |
parent | f964e51fc98ed9b31cb9b3e4dad2ccde14de777b (diff) |
Automated merge with https://bitbucket.org/lindenlab/viewer-development-materials
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 3 |
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(); |