Fixed crash when decompressing DDS texture.