GTX : Use original channel components.

This commit is contained in:
KillzXGaming 2022-10-29 12:49:31 -04:00
parent e063086601
commit 8fc71d3c32

View file

@ -745,8 +745,6 @@ namespace FirstPlugin
surface.pitch = ftex.texture.Pitch; surface.pitch = ftex.texture.Pitch;
surface.texRegs = GX2.CreateRegisters(surface); surface.texRegs = GX2.CreateRegisters(surface);
SetChannelComponents();
Format = FTEX.ConvertFromGx2Format((Syroot.NintenTools.Bfres.GX2.GX2SurfaceFormat)surface.format); Format = FTEX.ConvertFromGx2Format((Syroot.NintenTools.Bfres.GX2.GX2SurfaceFormat)surface.format);
Width = surface.width; Width = surface.width;
Height = surface.height; Height = surface.height;