diff options
author | Tobia Tesan | 2013-07-17 23:37:21 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 02:17:25 +0200 |
commit | 14d151ab31d8163f3e7dc943be191c3a98bd4f6b (patch) | |
tree | 4678f401df1439a834097447f449d5f64c25ebfd /engines/wintermute/graphics/transparent_surface.h | |
parent | 1a8a9bab861402e81dd2e5407182f3c0a7cc479b (diff) | |
download | scummvm-rg350-14d151ab31d8163f3e7dc943be191c3a98bd4f6b.tar.gz scummvm-rg350-14d151ab31d8163f3e7dc943be191c3a98bd4f6b.tar.bz2 scummvm-rg350-14d151ab31d8163f3e7dc943be191c3a98bd4f6b.zip |
WINTERMUTE: Fix #ifdef in transparent_surface.[h|cpp]
Diffstat (limited to 'engines/wintermute/graphics/transparent_surface.h')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.h b/engines/wintermute/graphics/transparent_surface.h index 71c139a76a..7182967aa6 100644 --- a/engines/wintermute/graphics/transparent_surface.h +++ b/engines/wintermute/graphics/transparent_surface.h @@ -53,9 +53,11 @@ struct TransparentSurface : public Graphics::Surface { void setColorKey(char r, char g, char b); void disableColorKey(); +#ifdef ENABLE_BILINEAR static void copyPixelBilinear(float projX, float projY, int dstX, int dstY, const Common::Rect &srcRect, const Common::Rect &dstRect, const TransparentSurface *src, TransparentSurface *dst); +#else static void copyPixelNearestNeighbor(float projX, float projY, int dstX, int dstY, const Common::Rect &srcRect, const Common::Rect &dstRect, const TransparentSurface *src, TransparentSurface *dst); - +#endif // Enums /** @brief The possible flipping parameters for the blit methode. |