1
0
mirror of synced 2024-12-01 02:27:22 +01:00

Fix some bntx swizzle bugs

This commit is contained in:
KillzXGaming 2020-01-15 18:12:12 -05:00
parent 030ee7f176
commit c407b1f0a3

View File

@ -1701,8 +1701,6 @@ namespace FirstPlugin
if (Depth > 1) if (Depth > 1)
numDepth = Depth; numDepth = Depth;
return TegraX1Swizzle.GetImageData(this, Texture.TextureData[0][0], ArrayLevel, MipLevel, DepthLevel, target, Texture.TileMode == TileMode.LinearAligned);
for (int depthLevel = 0; depthLevel < numDepth; depthLevel++) for (int depthLevel = 0; depthLevel < numDepth; depthLevel++)
{ {
for (int arrayLevel = 0; arrayLevel < Texture.TextureData.Count; arrayLevel++) for (int arrayLevel = 0; arrayLevel < Texture.TextureData.Count; arrayLevel++)