diff options
author | Max Horn | 2009-03-12 03:26:47 +0000 |
---|---|---|
committer | Max Horn | 2009-03-12 03:26:47 +0000 |
commit | 642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c (patch) | |
tree | f5682e55198f5cce21b4e610b9d2a272572415d6 /engines/sci/gfx/gfx_pixmap_scale.cpp | |
parent | 40b313c28ee947f3e5a908f56efacbbcedf63a88 (diff) | |
download | scummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.tar.gz scummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.tar.bz2 scummvm-rg350-642bad22d8978ffdfcdd9efaea553f7bd5c7cc9c.zip |
SCI: Removed most uses of the 'inline' keyword. It is usually better to let the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;)
svn-id: r39352
Diffstat (limited to 'engines/sci/gfx/gfx_pixmap_scale.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_pixmap_scale.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp index 999a42315d..0cecc1ce8c 100644 --- a/engines/sci/gfx/gfx_pixmap_scale.cpp +++ b/engines/sci/gfx/gfx_pixmap_scale.cpp @@ -288,7 +288,7 @@ void FUNCNAME_LINEAR(gfx_mode_t *mode, gfx_pixmap_t *pxm, int scale) { #ifndef GFX_GET_PIXEL_DELTA #define GFX_GET_PIXEL_DELTA -static inline void gfx_get_pixel_delta(unsigned int *color, int *delta, unsigned int *pixel0, unsigned int *pixel1) { +static void gfx_get_pixel_delta(unsigned int *color, int *delta, unsigned int *pixel0, unsigned int *pixel1) { int j; int transp0 = pixel0[3] == 0xffffff; int transp1 = pixel1[3] == 0xffffff; @@ -313,7 +313,7 @@ static inline void gfx_get_pixel_delta(unsigned int *color, int *delta, unsigned } -static inline void gfx_apply_delta(unsigned int *color, int *delta, int factor) { +static void gfx_apply_delta(unsigned int *color, int *delta, int factor) { int i; for (i = 0; i < 4; i++) |