diff options
author | Bertrand Augereau | 2012-09-03 01:32:50 +0200 |
---|---|---|
committer | Bertrand Augereau | 2012-09-03 01:34:41 +0200 |
commit | 5f6a98cb5ba373a19e82d17718a0077f40305f9d (patch) | |
tree | 888eafba9c225eda649bb3179ac724c372537a2a /graphics/scaler | |
parent | 7824d0e8e9116e2610072a92c99c6d80ae9db19f (diff) | |
download | scummvm-rg350-5f6a98cb5ba373a19e82d17718a0077f40305f9d.tar.gz scummvm-rg350-5f6a98cb5ba373a19e82d17718a0077f40305f9d.tar.bz2 scummvm-rg350-5f6a98cb5ba373a19e82d17718a0077f40305f9d.zip |
SCALER: No need to inline interpolate5Line, it just bloats stretch200To240 for nothing
Diffstat (limited to 'graphics/scaler')
-rw-r--r-- | graphics/scaler/aspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/scaler/aspect.cpp b/graphics/scaler/aspect.cpp index f0ae732a40..2f06b2e4f6 100644 --- a/graphics/scaler/aspect.cpp +++ b/graphics/scaler/aspect.cpp @@ -56,7 +56,7 @@ static inline void interpolate5Line(uint16 *dst, const uint16 *srcA, const uint1 #if ASPECT_MODE == kVeryFastAndGoodAspectMode template<typename ColorMask, int scale> -static inline void interpolate5Line(uint16 *dst, const uint16 *srcA, const uint16 *srcB, int width) { +static void interpolate5Line(uint16 *dst, const uint16 *srcA, const uint16 *srcB, int width) { if (scale == 1) { while (width--) { *dst++ = interpolate16_7_1<ColorMask>(*srcB++, *srcA++); |