aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2013-06-29 12:09:46 +0200
committerTobia Tesan2013-08-01 00:02:49 +0200
commitb788ae7f382ca05cecdf0eba5bfb176279299416 (patch)
treebd88206d5dc8cf5403bc08618fbb59f08dcb3a92 /engines
parentd2a249384eed076195b86f24ae1a041a93b3cd89 (diff)
downloadscummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.tar.gz
scummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.tar.bz2
scummvm-rg350-b788ae7f382ca05cecdf0eba5bfb176279299416.zip
WINTERMUTE: Swap flip bits
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/graphics/transparent_surface.cpp4
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;
}