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:
xbzk 2025-10-26 20:51:21 +01:00 committed by crueter
parent 7846f4de31
commit c788dbb3ef
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}