Skip to content

Commit

Permalink
Buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed May 26, 2017
1 parent 1d96ead commit 6669fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/GLES/StateMappingGLES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 6669fd0

Please sign in to comment.