diff options
author | Subv <subv2112@gmail.com> | 2016-11-27 18:16:10 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-11-27 18:16:10 +0100 |
commit | 743b0e71d943449991aa27ca02604ca6519070df (patch) | |
tree | 99867307615c6dcd32a70b60414f92b07a94cbf5 | |
parent | Merge pull request #2168 from mailwl/mic (diff) | |
download | yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar.gz yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar.bz2 yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar.lz yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar.xz yuzu-743b0e71d943449991aa27ca02604ca6519070df.tar.zst yuzu-743b0e71d943449991aa27ca02604ca6519070df.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 7cc3b407a..062f8a67b 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -909,7 +909,7 @@ bool RasterizerOpenGL::AccelerateFill(const GPU::Regs::MemoryFillConfig& config) GLint value_int = (config.value_32bit >> 24); cur_state.depth.write_mask = true; - cur_state.stencil.write_mask = true; + cur_state.stencil.write_mask = 0xFF; cur_state.Apply(); glClearBufferfi(GL_DEPTH_STENCIL, 0, value_float, value_int); } |