Fix nutexb saving from edits with the image editor

This commit is contained in:
KillzXGaming 2019-03-28 20:58:56 -04:00
parent de72038a9d
commit 8d1b5a3674
6 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -611,6 +611,7 @@ namespace FirstPlugin
tex.SurfaceDim = SurfaceDim.Dim2D;
tex.SampleCount = 1;
tex.Pitch = 32;
tex.MipOffsets = new long[tex.MipCount];
MipCount = GenerateMipCount(bitmap.Width, bitmap.Height);