mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 04:53:09 +00:00
Some GTX file texture importing fixes
This commit is contained in:
parent
a8698a2ef4
commit
bb31926b1e
3 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -601,9 +601,9 @@ namespace FirstPlugin
|
|||
surface.mipData = ftex.texture.MipData;
|
||||
surface.mipOffset = ftex.texture.MipOffsets;
|
||||
surface.firstMip = ftex.texture.ViewMipFirst;
|
||||
surface.firstSlice = ftex.texture.ViewSliceFirst;
|
||||
surface.numSlices = ftex.texture.ViewSliceCount;
|
||||
surface.imageCount = ftex.texture.ArrayLength;
|
||||
surface.firstSlice = 0;
|
||||
surface.numSlices = ftex.texture.ArrayLength;
|
||||
surface.imageCount = ftex.texture.MipCount;
|
||||
surface.pitch = ftex.texture.Pitch;
|
||||
|
||||
SetChannelComponents();
|
||||
|
|
Loading…
Reference in a new issue