1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Quick channel fix for compressed textures

This commit is contained in:
KillzXGaming 2019-11-24 18:52:40 -05:00
parent f141520346
commit 1c787477d1
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ namespace FirstPlugin
tileModeCB.SelectedIndex = 0;
formatComboBox.SelectedItem = SurfaceFormat.BC1_SRGB;
IsLoaded = true;
IsLoaded = true;
button1.Select();
}

View File

@ -639,7 +639,7 @@ namespace Toolbox.Library
byte[] imageData = new byte[0];
bool DontSwapRG = false;
if (Format.ToString().StartsWith("B"))
if (Format.ToString().StartsWith("B") && !IsCompressed(Format))
DontSwapRG = true;
if (PlatformSwizzle == PlatformSwizzle.Platform_3DS)