diff options
Diffstat (limited to 'NW4RTools/Texture.cs')
-rw-r--r-- | NW4RTools/Texture.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NW4RTools/Texture.cs b/NW4RTools/Texture.cs index e45555d..6124ed4 100644 --- a/NW4RTools/Texture.cs +++ b/NW4RTools/Texture.cs @@ -238,7 +238,7 @@ namespace NW4RTools { for (int iBlockX = 0; iBlockX < 2; iBlockX++) { var block = Util.NVDXT.compressDXT1a((Util.NVDXT.ARGBPixel*)bits.Scan0, x + (iBlockX * 4), y + (iBlockY * 4), - bits.Stride, bits.Height); + bits.Width, bits.Height); data.WriteUInt16(block.Color0); data.WriteUInt16(block.Color1); |