diff options
author | Eugene Sandulenko | 2016-12-26 18:54:44 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-12-26 18:54:44 +0100 |
commit | f1dd84fdf80c24ea60da9a3ca52ee86e8853e72a (patch) | |
tree | eea7568a196a5f126f249eb5b076809bb9a9b0a3 /engines | |
parent | 6a11ac7f12fa96bb4e67596ee5cb166895846834 (diff) | |
download | scummvm-rg350-f1dd84fdf80c24ea60da9a3ca52ee86e8853e72a.tar.gz scummvm-rg350-f1dd84fdf80c24ea60da9a3ca52ee86e8853e72a.tar.bz2 scummvm-rg350-f1dd84fdf80c24ea60da9a3ca52ee86e8853e72a.zip |
WINTERMUTE: Fix references to TransparentSurface templates
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/render_ticket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/base/gfx/osystem/render_ticket.cpp b/engines/wintermute/base/gfx/osystem/render_ticket.cpp index 78d445ac8c..acc9530684 100644 --- a/engines/wintermute/base/gfx/osystem/render_ticket.cpp +++ b/engines/wintermute/base/gfx/osystem/render_ticket.cpp @@ -62,9 +62,9 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s Graphics::TransparentSurface src(*_surface, false); Graphics::Surface *temp; if (owner->_gameRef->getBilinearFiltering()) { - temp = src.rotoscale<Graphics::FILTER_BILINEAR>(transform); + temp = src.rotoscaleT<Graphics::FILTER_BILINEAR>(transform); } else { - temp = src.rotoscale<Graphics::FILTER_NEAREST>(transform); + temp = src.rotoscaleT<Graphics::FILTER_NEAREST>(transform); } _surface->free(); delete _surface; @@ -75,9 +75,9 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s Graphics::TransparentSurface src(*_surface, false); Graphics::Surface *temp; if (owner->_gameRef->getBilinearFiltering()) { - temp = src.scale<Graphics::FILTER_BILINEAR>(dstRect->width(), dstRect->height()); + temp = src.scaleT<Graphics::FILTER_BILINEAR>(dstRect->width(), dstRect->height()); } else { - temp = src.scale<Graphics::FILTER_NEAREST>(dstRect->width(), dstRect->height()); + temp = src.scaleT<Graphics::FILTER_NEAREST>(dstRect->width(), dstRect->height()); } _surface->free(); delete _surface; |