diff options
author | Matthew Hoops | 2010-12-16 01:35:13 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-16 01:35:13 +0000 |
commit | 375f32fbe94e8500a03c19ed32865efdcde8ca8e (patch) | |
tree | 3544a3da06401aea4192a7557294b61734e4d1ef /engines/saga | |
parent | a2bb676c19c70cd79f141650fe0587148c71702b (diff) | |
download | scummvm-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/saga')
-rw-r--r-- | engines/saga/introproc_saga2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/introproc_saga2.cpp b/engines/saga/introproc_saga2.cpp index 785534729e..ec157b4a13 100644 --- a/engines/saga/introproc_saga2.cpp +++ b/engines/saga/introproc_saga2.cpp @@ -103,7 +103,7 @@ void Scene::playMovie(const char *filename) { while (!_vm->shouldQuit() && !smkDecoder->endOfVideo() && !skipVideo) { if (smkDecoder->needsUpdate()) { - Graphics::Surface *frame = smkDecoder->decodeNextFrame(); + const Graphics::Surface *frame = smkDecoder->decodeNextFrame(); if (frame) { _vm->_system->copyRectToScreen((byte *)frame->pixels, frame->pitch, x, y, frame->w, frame->h); |