summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-24 04:59:50 +0200
committerLioncash <mathew1800@gmail.com>2018-08-24 05:00:54 +0200
commit8fd9eb71b489877b047a80e168e129484f892014 (patch)
tree59697841063bfd2cb2de37c11dab75a20acb06ea
parentPort #4013 from Citra: "Init logging sooner so we dont miss some logs on startup" (#1142) (diff)
downloadyuzu-8fd9eb71b489877b047a80e168e129484f892014.tar
yuzu-8fd9eb71b489877b047a80e168e129484f892014.tar.gz
yuzu-8fd9eb71b489877b047a80e168e129484f892014.tar.bz2
yuzu-8fd9eb71b489877b047a80e168e129484f892014.tar.lz
yuzu-8fd9eb71b489877b047a80e168e129484f892014.tar.xz
yuzu-8fd9eb71b489877b047a80e168e129484f892014.tar.zst
yuzu-8fd9eb71b489877b047a80e168e129484f892014.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 8bfa75b84..96851ccb5 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -929,7 +929,8 @@ void RasterizerOpenGL::SyncLogicOpState() {
if (!state.logic_op.enabled)
return;
- ASSERT_MSG(regs.blend.enable == 0, "Blending and logic op can't be enabled at the same time.");
+ ASSERT_MSG(regs.blend.enable[0] == 0,
+ "Blending and logic op can't be enabled at the same time.");
state.logic_op.operation = MaxwellToGL::LogicOp(regs.logic_op.operation);
}