Fix error in zero padding.

pull/216/head
castano 15 years ago
parent 720be412fa
commit 71f29a27f3

@ -150,7 +150,7 @@ void nv::compressRGB(const Image * image, const OutputOptions::Private & outputO
}
// Zero padding.
for (uint x = w; x < pitch; x++)
for (uint x = w * byteCount; x < pitch; x++)
{
*(dst + x) = 0;
}

Loading…
Cancel
Save