From 6669fd0879038649862d94bd87d4bfb44bed07a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 26 May 2017 16:42:38 +0200 Subject: [PATCH] Buildfix --- GPU/GLES/StateMappingGLES.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/StateMappingGLES.cpp b/GPU/GLES/StateMappingGLES.cpp index 8a1a2a3845b5..1437eea535c4 100644 --- a/GPU/GLES/StateMappingGLES.cpp +++ b/GPU/GLES/StateMappingGLES.cpp @@ -283,7 +283,7 @@ void DrawEngineGLES::ApplyDrawState(int prim) { glstate.depthTest.enable(); glstate.depthFunc.set(GL_ALWAYS); glstate.depthWrite.set(gstate.isClearModeDepthMask() ? GL_TRUE : GL_FALSE); - if (gstate.isClearModeDepthMask() || alwaysDepthWrite) { + if (gstate.isClearModeDepthMask()) { framebufferManager_->SetDepthUpdated(); }