diff options
author | Tobia Tesan | 2013-06-29 12:09:46 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:02:49 +0200 |
commit | b788ae7f382ca05cecdf0eba5bfb176279299416 (patch) | |
tree | bd88206d5dc8cf5403bc08618fbb59f08dcb3a92 /engines/wintermute/graphics/transparent_surface.cpp | |
parent | d2a249384eed076195b86f24ae1a041a93b3cd89 (diff) | |
download | scummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.tar.gz scummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.tar.bz2 scummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.zip |
WINTERMUTE: Swap flip bits
Diffstat (limited to 'engines/wintermute/graphics/transparent_surface.cpp')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp index bdf074fdd9..5606d41ae6 100644 --- a/engines/wintermute/graphics/transparent_surface.cpp +++ b/engines/wintermute/graphics/transparent_surface.cpp @@ -363,12 +363,12 @@ Common::Rect TransparentSurface::blit(Graphics::Surface &target, int posX, int p int inStep = 4; int inoStep = img->pitch; - if (flipping & TransparentSurface::FLIP_V) { + if (flipping & TransparentSurface::FLIP_H) { inStep = -inStep; xp = img->w - 1; } - if (flipping & TransparentSurface::FLIP_H) { + if (flipping & TransparentSurface::FLIP_V) { inoStep = -inoStep; yp = img->h - 1; } |