Fix nutexb saving from edits with the image editor
This commit is contained in:
parent
de72038a9d
commit
8d1b5a3674
Binary file not shown.
@ -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);
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user