diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index fdf3258e82..5d2c94664e 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -286,7 +286,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) { // TODO: In clear mode, the stencil value is set to the alpha value of the vertex. // A normal clear will be 2 points, the second point has the color. // We should set "ref" to that value instead of 0. - glstate.stencilFunc.set(GL_ALWAYS, 0, 0xFF); + glstate.stencilFunc.set(GL_ALWAYS, 255, 0xFF); } else glstate.stencilTest.disable();