diff options
author | Tobia Tesan | 2013-07-10 11:42:16 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:04:21 +0200 |
commit | 9f97ad6a3e9e10fa7164a4e545c1705896f77925 (patch) | |
tree | 5e6990f84f185d2e635c81eb9c36eaa268c7da14 /engines/wintermute/base/gfx/osystem | |
parent | f014cccb94e0b3244a3e6dca91db7ca7552e6d79 (diff) | |
download | scummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.tar.gz scummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.tar.bz2 scummvm-rg350-9f97ad6a3e9e10fa7164a4e545c1705896f77925.zip |
WINTERMUTE: s/*transform/const &transform/
Diffstat (limited to 'engines/wintermute/base/gfx/osystem')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/render_ticket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/gfx/osystem/render_ticket.cpp b/engines/wintermute/base/gfx/osystem/render_ticket.cpp index 2049d3ec57..b11e0722af 100644 --- a/engines/wintermute/base/gfx/osystem/render_ticket.cpp +++ b/engines/wintermute/base/gfx/osystem/render_ticket.cpp @@ -53,7 +53,7 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s // Then scale it if necessary if (_transform._angle != 0) { TransparentSurface src(*_surface, false); - Graphics::Surface *temp = src.rotoscale(&transform); + Graphics::Surface *temp = src.rotoscale(transform); _surface->free(); delete _surface; _surface = temp; @@ -70,7 +70,7 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s if (transform._angle != 0) { // Make sure comparison-tickets get the correct width Rect32 dstRect; Point32 newHotspot; - dstRect = TransformTools::newRect(_srcRect, &transform, &newHotspot); + dstRect = TransformTools::newRect(_srcRect, transform, &newHotspot); _dstRect.setWidth(dstRect.right-dstRect.left); _dstRect.setHeight(dstRect.bottom-dstRect.top); } |