Fix fast box downsampling filter.

This commit is contained in:
castano 2007-12-15 06:52:17 +00:00
parent a76e89d0d7
commit 743599eb1d

View File

@ -374,7 +374,7 @@ FloatImage * FloatImage::fastDownSample() const
// 1D box filter.
if (m_width == 1 || m_height == 1)
{
const uint w = m_width * m_height;
w *= h;
if (w & 1)
{