Skip to content

Commit 2d073a1

Browse files
committed
Fix channel var names, doesn't actually change anything cause we wrote them back in the wrong order as well
1 parent 72c8776 commit 2d073a1

File tree

1 file changed

+4
-4
lines changed
  • xivModdingFramework/Textures/FileTypes

1 file changed

+4
-4
lines changed

xivModdingFramework/Textures/FileTypes/Tex.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,14 +619,14 @@ await Task.Run(() =>
619619
{
620620
for (var x = 0; x < width; x++)
621621
{
622-
var red = br.ReadByte();
623-
var green = br.ReadByte();
624622
var blue = br.ReadByte();
623+
var green = br.ReadByte();
624+
var red = br.ReadByte();
625625
var alpha = br.ReadByte();
626626

627-
convertedBytes.Add(blue);
628-
convertedBytes.Add(green);
629627
convertedBytes.Add(red);
628+
convertedBytes.Add(green);
629+
convertedBytes.Add(blue);
630630
convertedBytes.Add(alpha);
631631
}
632632
}

0 commit comments

Comments
 (0)