mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 10:12:49 +00:00
Merge pull request #1167 from lioncash/assert
gl_rasterizer: Correct assertion condition in SyncLogicOpState()
This commit is contained in:
commit
23b86fd3ea
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue