Avoid redundant color mask updates

This commit is contained in:
gdk 2022-01-30 02:32:09 -03:00 committed by Mary
parent 5d7c8fbaab
commit d309c558fa

View file

@ -1016,7 +1016,7 @@ namespace Ryujinx.Graphics.OpenGL
prg.Bind(); prg.Bind();
} }
if (prg.HasFragmentShader) if (prg.HasFragmentShader && _fragmentOutputMap != prg.FragmentOutputMap)
{ {
_fragmentOutputMap = prg.FragmentOutputMap; _fragmentOutputMap = prg.FragmentOutputMap;