aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-31 22:08:09 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:05:52 +0200
commitebbf92578db8b8b51d3a3b64f5befd30ec8b4547 (patch)
tree4fba7862becd3e9ff013791e525511e3a910d56f /engines
parentae48c3f7e156d2fd5dfd2dba8931cfee679c0198 (diff)
downloadscummvm-rg350-ebbf92578db8b8b51d3a3b64f5befd30ec8b4547.tar.gz
scummvm-rg350-ebbf92578db8b8b51d3a3b64f5befd30ec8b4547.tar.bz2
scummvm-rg350-ebbf92578db8b8b51d3a3b64f5befd30ec8b4547.zip
WINTERMUTE: Re-enable scaling.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/BSurfaceSDL.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/wintermute/BSurfaceSDL.cpp b/engines/wintermute/BSurfaceSDL.cpp
index bb99f47a12..d12a9b7a8f 100644
--- a/engines/wintermute/BSurfaceSDL.cpp
+++ b/engines/wintermute/BSurfaceSDL.cpp
@@ -456,12 +456,9 @@ HRESULT CBSurfaceSDL::DrawSprite(int X, int Y, RECT *Rect, float ZoomX, float Zo
position.left = X;
position.top = Y;
// TODO: Scaling...
- /*
+
position.setWidth((float)srcRect.width() * ZoomX / 100.f);
position.setHeight((float)srcRect.height() * ZoomX / 100.f);
- */
- position.setWidth(srcRect.width());
- position.setHeight(srcRect.height());
renderer->ModTargetRect(&position);