diff options
author | Sven Hesse | 2010-09-30 13:02:16 +0000 |
---|---|---|
committer | Sven Hesse | 2010-09-30 13:02:16 +0000 |
commit | 51fd528fe56e00466255d54e1e71b19f34729bfd (patch) | |
tree | 4ced8883bebd5ca93eb4aeb315a496c535e87c78 /engines/gob/videoplayer.cpp | |
parent | 38e506004101edb6460c695fc62754fb9e951883 (diff) | |
download | scummvm-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.cpp | 4 |
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)) |