diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-03 02:31:33 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | 3ce66776eccc23a3c1af69ce6ce079e28361fd58 (patch) | |
tree | 0cc60ec74779b753b543beeb67df5df7e6562949 /src | |
parent | gl_rasterizer: Notify depth mask changes on clear (diff) | |
download | yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar.gz yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar.bz2 yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar.lz yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar.xz yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.tar.zst yuzu-3ce66776eccc23a3c1af69ce6ce079e28361fd58.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index c8aa342ef..e035be867 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -452,6 +452,9 @@ void RasterizerOpenGL::Clear() { if (regs.clear_flags.scissor) { SyncScissorTest(); + } else { + state_tracker.NotifyScissor0(); + glDisablei(GL_SCISSOR_TEST, 0); } // TODO(Rodrigo): Find out if blending affects clearing |