aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-03 02:41:39 +0200
committerJohannes Schickel2013-08-03 04:02:52 +0200
commitdbda889e6337a21babb95eae66880c81eb022bda (patch)
treef74eb921d10b887b6167a9e2b4eefe85c2dc3265 /engines/sci/video
parente30cb842101a6259633de46a9517ea46a2ba9860 (diff)
downloadscummvm-rg350-dbda889e6337a21babb95eae66880c81eb022bda.tar.gz
scummvm-rg350-dbda889e6337a21babb95eae66880c81eb022bda.tar.bz2
scummvm-rg350-dbda889e6337a21babb95eae66880c81eb022bda.zip
SCI: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines/sci/video')
-rw-r--r--engines/sci/video/robot_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/video/robot_decoder.cpp b/engines/sci/video/robot_decoder.cpp
index 775cd0d74b..a567ece2ea 100644
--- a/engines/sci/video/robot_decoder.cpp
+++ b/engines/sci/video/robot_decoder.cpp
@@ -210,7 +210,7 @@ void RobotDecoder::readNextPacket() {
// Copy over the decompressed frame
byte *inFrame = decompressedFrame;
- byte *outFrame = (byte *)surface->getBasePtr(0, 0);
+ byte *outFrame = (byte *)surface->getPixels();
// Black out the surface
memset(outFrame, 0, surface->w * surface->h);