aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/smc.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-03 02:35:51 +0200
committerJohannes Schickel2013-08-03 04:02:49 +0200
commite0c9c1d261665f51a202b2446bf7ff7eff888d51 (patch)
tree1fa1545fa3438351aa3992e7f773ca4a5c024d7c /video/codecs/smc.cpp
parent5111746911958bd35422e9614b0961a6b911ea06 (diff)
downloadscummvm-rg350-e0c9c1d261665f51a202b2446bf7ff7eff888d51.tar.gz
scummvm-rg350-e0c9c1d261665f51a202b2446bf7ff7eff888d51.tar.bz2
scummvm-rg350-e0c9c1d261665f51a202b2446bf7ff7eff888d51.zip
VIDEO: Take advantage of Surface::getPixels.
Diffstat (limited to 'video/codecs/smc.cpp')
-rw-r--r--video/codecs/smc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/smc.cpp b/video/codecs/smc.cpp
index c1b765a3cd..c0f8152547 100644
--- a/video/codecs/smc.cpp
+++ b/video/codecs/smc.cpp
@@ -56,7 +56,7 @@ SMCDecoder::~SMCDecoder() {
}
const Graphics::Surface *SMCDecoder::decodeImage(Common::SeekableReadStream *stream) {
- byte *pixels = (byte *)_surface->getBasePtr(0, 0);
+ byte *pixels = (byte *)_surface->getPixels();
uint32 numBlocks = 0;
uint32 colorFlags = 0;