aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-16 01:35:13 +0000
committerMatthew Hoops2010-12-16 01:35:13 +0000
commit375f32fbe94e8500a03c19ed32865efdcde8ca8e (patch)
tree3544a3da06401aea4192a7557294b61734e4d1ef /engines/sword1
parenta2bb676c19c70cd79f141650fe0587148c71702b (diff)
downloadscummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.tar.gz
scummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.tar.bz2
scummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.zip
VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index 441e622184..8df1812098 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -252,7 +252,7 @@ bool MoviePlayer::playVideo() {
while (!_vm->shouldQuit() && !_decoder->endOfVideo()) {
if (_decoder->needsUpdate()) {
- Graphics::Surface *frame = _decoder->decodeNextFrame();
+ const Graphics::Surface *frame = _decoder->decodeNextFrame();
if (frame)
_vm->_system->copyRectToScreen((byte *)frame->pixels, frame->pitch, x, y, frame->w, frame->h);