NUTEXB : Fix different non swizzled surface levels
This commit is contained in:
parent
2fd88ce7eb
commit
df281e645f
@ -563,7 +563,7 @@ namespace FirstPlugin
|
|||||||
public override byte[] GetImageData(int ArrayLevel = 0, int MipLevel = 0, int DepthLevel = 0)
|
public override byte[] GetImageData(int ArrayLevel = 0, int MipLevel = 0, int DepthLevel = 0)
|
||||||
{
|
{
|
||||||
if (!Runtime.NUTEXBSettings.IsSwizzled)
|
if (!Runtime.NUTEXBSettings.IsSwizzled)
|
||||||
return DDS.GetArrayFaces(this, ImageData, 1)[ArrayLevel].mipmaps[0];
|
return DDS.GetArrayFaces(this, ImageData, ArrayCount)[ArrayLevel].mipmaps[MipLevel];
|
||||||
|
|
||||||
return TegraX1Swizzle.GetImageData(this, ImageData, ArrayLevel, MipLevel, DepthLevel, 1);
|
return TegraX1Swizzle.GetImageData(this, ImageData, ArrayLevel, MipLevel, DepthLevel, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user