From c310cef6153480b4823a070daeb1bc6c06d4001f Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Thu, 26 Mar 2020 00:51:47 -0300 Subject: gl_rasterizer: Synchronize stencil testing on clears --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 826eee7df..fd96172ef 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -444,6 +444,7 @@ void RasterizerOpenGL::Clear() { } SyncRasterizeEnable(); + SyncStencilTestState(); if (regs.clear_flags.scissor) { SyncScissorTest(); -- cgit v1.2.3