Some GTX file texture importing fixes

This commit is contained in:
KillzXGaming 2019-06-14 18:44:40 -04:00
parent a8698a2ef4
commit bb31926b1e
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -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();