diff options
author | Torbjörn Andersson | 2004-06-06 15:40:31 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-06-06 15:40:31 +0000 |
commit | c9c56d2f7242b02e9b23217dfcd1c657f9811ea0 (patch) | |
tree | 5b8fc93094be9de66d583a7aaa487b967e608037 /sword2/driver/menu.cpp | |
parent | 29f03f0d9c09572d8b37d3efc1cf34be7f149d16 (diff) | |
download | scummvm-rg350-c9c56d2f7242b02e9b23217dfcd1c657f9811ea0.tar.gz scummvm-rg350-c9c56d2f7242b02e9b23217dfcd1c657f9811ea0.tar.bz2 scummvm-rg350-c9c56d2f7242b02e9b23217dfcd1c657f9811ea0.zip |
Cleaned up sprite scaling.
svn-id: r13944
Diffstat (limited to 'sword2/driver/menu.cpp')
-rw-r--r-- | sword2/driver/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp index 28ab6b955e..8fa68791db 100644 --- a/sword2/driver/menu.cpp +++ b/sword2/driver/menu.cpp @@ -156,9 +156,9 @@ void Graphics::processMenu(void) { byte *src = _icons[menu][i]; if (_pocketStatus[menu][i] != MAXMENUANIMS) { - squashImage( + scaleImageFast( dst, _screenWide, r2.right - r2.left, r2.bottom - r2.top, - src, RDMENU_ICONWIDE, RDMENU_ICONWIDE, RDMENU_ICONDEEP, NULL); + src, RDMENU_ICONWIDE, RDMENU_ICONWIDE, RDMENU_ICONDEEP); } else { for (j = 0; j < RDMENU_ICONDEEP; j++) { memcpy(dst, src, RDMENU_ICONWIDE); |