summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbin Bernhardsson <catscratchesp@gmail.com>2016-12-19 19:06:35 +0100
committerAlbin Bernhardsson <catscratchesp@gmail.com>2016-12-19 19:06:35 +0100
commitddec9cb3699c9403b65e224cae640f17a3b19ffb (patch)
tree6a5be7fecabb567821ff7fc894a3a0b737a4a7a6 /src
parentMerge pull request #2318 from yuriks/trace-opt (diff)
downloadyuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar.gz
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar.bz2
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar.lz
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar.xz
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.tar.zst
yuzu-ddec9cb3699c9403b65e224cae640f17a3b19ffb.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index cc7e782a4..6add9d16d 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -875,10 +875,10 @@ bool RasterizerOpenGL::AccelerateFill(const GPU::Regs::MemoryFillConfig& config)
}
}
- cur_state.color_mask.red_enabled = true;
- cur_state.color_mask.green_enabled = true;
- cur_state.color_mask.blue_enabled = true;
- cur_state.color_mask.alpha_enabled = true;
+ cur_state.color_mask.red_enabled = GL_TRUE;
+ cur_state.color_mask.green_enabled = GL_TRUE;
+ cur_state.color_mask.blue_enabled = GL_TRUE;
+ cur_state.color_mask.alpha_enabled = GL_TRUE;
cur_state.Apply();
glClearBufferfv(GL_COLOR, 0, color_values);
} else if (dst_type == SurfaceType::Depth) {