diff options
author | graham linden <graham@lindenlab.com> | 2013-04-16 08:28:38 -0700 |
---|---|---|
committer | graham linden <graham@lindenlab.com> | 2013-04-16 08:28:38 -0700 |
commit | a054dff522ea874691cd859a8909a29d45cc8bd8 (patch) | |
tree | dfe34ed98d1d02d68084d1951fbc8f27f4360e9e /indra/newview/pipeline.cpp | |
parent | c4413f493e65d1c12f382a9fe4363e90c6a1b8c3 (diff) | |
parent | d1f713f30bd4d42fe4696e25c01ab4532ef3b69b (diff) |
Merged lindenlab/viewer-development-materials into default
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(); |