summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-25 16:50:59 +0200
committerGitHub <noreply@github.com>2018-08-25 16:50:59 +0200
commit23b86fd3ea9e67b9135908c9228b23ebe0e60024 (patch)
tree3ae3c7e9c779ab6706b1b0f67aa5b6a911255773 /src/video_core
parentMerge pull request #1166 from lioncash/typo (diff)
parentgl_rasterizer: Correct assertion condition in SyncLogicOpState() (diff)
downloadyuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar.gz
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar.bz2
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar.lz
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar.xz
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.tar.zst
yuzu-23b86fd3ea9e67b9135908c9228b23ebe0e60024.zip
Diffstat (limited to 'src/video_core')
-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);
}