Missing check

This commit is contained in:
gdkchan 2018-10-21 22:12:47 -03:00
parent e872182f7b
commit 13fbeb5f56

View file

@ -308,7 +308,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
if (New.ColorMaskCommon)
{
if (!New.ColorMasks[0].Equals(Old.ColorMasks[0]))
if (New.ColorMaskCommon != Old.ColorMaskCommon || !New.ColorMasks[0].Equals(Old.ColorMasks[0]))
{
GL.ColorMask(
New.ColorMasks[0].Red,