single commit to fix glCcolorMagic logic (#2842)
just pushing this fix for some silly bug before i forget it for the second time. just too obvious that don't even need to test. may fix some blued stuff where it should be green, and vice versa. Co-authored-by: Allison Cunha <allisonbzk@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2842 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: xbzk <xbzk@eden-emu.dev> Co-committed-by: xbzk <xbzk@eden-emu.dev>
This commit is contained in:
parent
7846f4de31
commit
c788dbb3ef
|
|
@ -1081,7 +1081,7 @@ void RasterizerOpenGL::SyncColorMask() {
|
|||
flags[Dirty::ColorMask0] = false;
|
||||
|
||||
auto& mask = regs.color_mask[0];
|
||||
glColorMask(mask.R != 0, mask.B != 0, mask.G != 0, mask.A != 0);
|
||||
glColorMask(mask.R != 0, mask.G != 0, mask.B != 0, mask.A != 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue