summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shadowMapper.cpp')
-rw-r--r--gfx/gl/shadowMapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.cpp b/gfx/gl/shadowMapper.cpp
index f1beb82..5715c0e 100644
--- a/gfx/gl/shadowMapper.cpp
+++ b/gfx/gl/shadowMapper.cpp
@@ -61,7 +61,6 @@ ShadowMapper::update(const SceneProvider & scene, const glm::vec3 & dir, const C
glBindFramebuffer(GL_FRAMEBUFFER, depthMapFBO);
glViewport(0, 0, size.x, size.y);
glClear(GL_DEPTH_BUFFER_BIT);
- glEnable(GL_DEPTH_TEST);
glCullFace(GL_FRONT);
auto bandViewExtents = shadowBands * [&camera](auto distance) {