[Scummvm-cvs-logs] scummvm master -> 5f6a98cb5ba373a19e82d17718a0077f40305f9d

tramboi bertrand_augereau at yahoo.fr
Mon Sep 3 02:29:48 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5f6a98cb5b SCALER: No need to inline interpolate5Line, it just bloats stretch200To240 for nothing


Commit: 5f6a98cb5ba373a19e82d17718a0077f40305f9d
    https://github.com/scummvm/scummvm/commit/5f6a98cb5ba373a19e82d17718a0077f40305f9d
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2012-09-02T16:34:41-07:00

Commit Message:
SCALER: No need to inline interpolate5Line, it just bloats stretch200To240 for nothing

Changed paths:
    graphics/scaler/aspect.cpp



diff --git a/graphics/scaler/aspect.cpp b/graphics/scaler/aspect.cpp
index f0ae732..2f06b2e 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++);






More information about the Scummvm-git-logs mailing list