mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
Allow mipped textures in SwitchSwizzle
This commit is contained in:
parent
cdf4f3f24d
commit
063aa46094
@ -34,8 +34,7 @@ public static class SwitchSwizzle
|
|||||||
|
|
||||||
public static byte[] Unswizzle(ITexture2D texture, byte[] data)
|
public static byte[] Unswizzle(ITexture2D texture, byte[] data)
|
||||||
{
|
{
|
||||||
// Just in case
|
if (texture.ImageCount_C28 != 1)
|
||||||
if (texture.Mips || texture.ImageCount_C28 != 1)
|
|
||||||
{
|
{
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user