diff options
author | Johannes Schickel | 2013-08-03 02:40:01 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-03 04:02:51 +0200 |
commit | bcc4a3d0b839b7d750d7c6dbb022cab165a743e8 (patch) | |
tree | 4fd4b00c76232bf93948e799c68a5e9642c7b85b /engines/lastexpress/data/animation.cpp | |
parent | 2578ec6e2f4f71730cd89ed8c88711aa4e377f28 (diff) | |
download | scummvm-rg350-bcc4a3d0b839b7d750d7c6dbb022cab165a743e8.tar.gz scummvm-rg350-bcc4a3d0b839b7d750d7c6dbb022cab165a743e8.tar.bz2 scummvm-rg350-bcc4a3d0b839b7d750d7c6dbb022cab165a743e8.zip |
LASTEXRPESS: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines/lastexpress/data/animation.cpp')
-rw-r--r-- | engines/lastexpress/data/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp index e9500aec38..832bcc2e26 100644 --- a/engines/lastexpress/data/animation.cpp +++ b/engines/lastexpress/data/animation.cpp @@ -270,7 +270,7 @@ void Animation::play() { draw(s); // XXX: Update the screen - g_system->copyRectToScreen(s->getBasePtr(0, 0), s->pitch, 0, 0, s->w, s->h); + g_system->copyRectToScreen(s->getPixels(), s->pitch, 0, 0, s->w, s->h); // Free the temporary surface s->free(); |