diff options
author | peres | 2011-05-07 08:38:53 +0900 |
---|---|---|
committer | peres | 2011-05-07 08:38:53 +0900 |
commit | 6ddf6693ce106cc3ddc830eaffebc4e3918d02ab (patch) | |
tree | 3444aa8389841d31e6e0624ef2e807036b05ded4 /graphics | |
parent | 2dddcbf41dc1c37b937150b75b3a3648846e4bfe (diff) | |
download | scummvm-rg350-6ddf6693ce106cc3ddc830eaffebc4e3918d02ab.tar.gz scummvm-rg350-6ddf6693ce106cc3ddc830eaffebc4e3918d02ab.tar.bz2 scummvm-rg350-6ddf6693ce106cc3ddc830eaffebc4e3918d02ab.zip |
GRAPHICS: use the new interpolate16_5_3
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/scaler/aspect.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/scaler/aspect.cpp b/graphics/scaler/aspect.cpp index 85768fbced..85b79ab6cd 100644 --- a/graphics/scaler/aspect.cpp +++ b/graphics/scaler/aspect.cpp @@ -79,10 +79,7 @@ static inline void interpolate5Line(uint16 *dst, const uint16 *srcA, const uint1 } } else { while (width--) { - // TODO: We really would like to use interpolate16_5_3, but that - // does not exist (yet), so we use this trick instead. - uint16 tmp = *srcA++; - *dst++ = interpolate16_5_2_1<ColorMask>(*srcB++, tmp, tmp); + *dst++ = interpolate16_5_3<ColorMask>(*srcB++, *srcA++); } } } |