SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709

This commit is contained in:
CeRiAl 2011-06-14 22:19:48 +02:00
parent 2ff4380c55
commit d809756c8d

View File

@ -201,7 +201,7 @@ int stretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, i
template<typename ColorMask>
void Normal1xAspectTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
for (int y = 0; y < height; ++y) {
for (int y = 0; y < (height * 6 / 5); ++y) {
#if ASPECT_MODE == kSuperFastAndUglyAspectMode
if ((y % 6) == 5)