aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
diff options
context:
space:
mode:
authorSven Hesse2010-09-30 13:02:16 +0000
committerSven Hesse2010-09-30 13:02:16 +0000
commit51fd528fe56e00466255d54e1e71b19f34729bfd (patch)
tree4ced8883bebd5ca93eb4aeb315a496c535e87c78 /engines/gob/videoplayer.cpp
parent38e506004101edb6460c695fc62754fb9e951883 (diff)
downloadscummvm-rg350-51fd528fe56e00466255d54e1e71b19f34729bfd.tar.gz
scummvm-rg350-51fd528fe56e00466255d54e1e71b19f34729bfd.tar.bz2
scummvm-rg350-51fd528fe56e00466255d54e1e71b19f34729bfd.zip
GOB: Change all drawing to use class Surface
svn-id: r52947
Diffstat (limited to 'engines/gob/videoplayer.cpp')
-rw-r--r--engines/gob/videoplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 9e49bfc092..f349413b93 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -155,8 +155,8 @@ int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties
video->decoder->setXY(0, 0);
} else {
video->surface = _vm->_draw->_spritesArray[properties.sprite];
- video->decoder->setSurfaceMemory(video->surface->getVidMem(),
- video->surface->getWidth(), video->surface->getHeight(), 1);
+ video->decoder->setSurfaceMemory(video->surface->getData(),
+ video->surface->getWidth(), video->surface->getHeight(), video->surface->getBPP());
if (!ownSurf || (ownSurf && screenSize)) {
if ((properties.x >= 0) || (properties.y >= 0))