diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 05:04:36 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:57:47 +0100 |
commit | f92236976b870cfb8be5a9efa03e4fb171d0ce00 (patch) | |
tree | 8133cf075cff774fdcf9c633cc80db77d42a1d0d /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_state: Remove framebuffer sRGB tracking (diff) | |
download | yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar.gz yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar.bz2 yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar.lz yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar.xz yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.tar.zst yuzu-f92236976b870cfb8be5a9efa03e4fb171d0ce00.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index f5aa84a16..dc2d60156 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -1083,8 +1083,8 @@ void RasterizerOpenGL::SyncColorMask() { void RasterizerOpenGL::SyncMultiSampleState() { const auto& regs = system.GPU().Maxwell3D().regs; - state.multisample_control.alpha_to_coverage = regs.multisample_control.alpha_to_coverage != 0; - state.multisample_control.alpha_to_one = regs.multisample_control.alpha_to_one != 0; + oglEnable(GL_SAMPLE_ALPHA_TO_COVERAGE, regs.multisample_control.alpha_to_coverage); + oglEnable(GL_SAMPLE_ALPHA_TO_ONE, regs.multisample_control.alpha_to_one); } void RasterizerOpenGL::SyncFragmentColorClampState() { |