Quick channel fix for compressed textures
This commit is contained in:
parent
f141520346
commit
1c787477d1
@ -103,7 +103,7 @@ namespace FirstPlugin
|
||||
tileModeCB.SelectedIndex = 0;
|
||||
formatComboBox.SelectedItem = SurfaceFormat.BC1_SRGB;
|
||||
|
||||
IsLoaded = true;
|
||||
IsLoaded = true;
|
||||
|
||||
button1.Select();
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user