From 455137e5e0474822dbd45a42836eb7398feb586a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 Feb 2020 21:34:58 +0100 Subject: [PATCH] - re-enabled depth clamping. This was never supposed to remain deactivated. --- source/common/rendering/gl/system/gl_framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/rendering/gl/system/gl_framebuffer.cpp b/source/common/rendering/gl/system/gl_framebuffer.cpp index 9f487d931..6cc90b407 100644 --- a/source/common/rendering/gl/system/gl_framebuffer.cpp +++ b/source/common/rendering/gl/system/gl_framebuffer.cpp @@ -162,7 +162,7 @@ void OpenGLFrameBuffer::InitializeState() glDisable(GL_POLYGON_OFFSET_FILL); glEnable(GL_POLYGON_OFFSET_LINE); glEnable(GL_BLEND); - //glEnable(GL_DEPTH_CLAMP); + glEnable(GL_DEPTH_CLAMP); glDisable(GL_DEPTH_TEST); glDisable(GL_LINE_SMOOTH); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);