summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-11-27 18:16:10 +0100
committerSubv <subv2112@gmail.com>2016-11-27 18:16:10 +0100
commit743b0e71d943449991aa27ca02604ca6519070df (patch)
tree99867307615c6dcd32a70b60414f92b07a94cbf5 /src/video_core
parentMerge pull request #2168 from mailwl/mic (diff)
downloadyuzu-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
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
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);
}