diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/BSurfaceSDL.cpp | 5 |
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);
|