diff options
author | Johannes Schickel | 2012-04-05 00:35:15 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-04-05 00:40:30 +0200 |
commit | 0e17497110ad9ff3e9def3e2f74aee7b33bd6e33 (patch) | |
tree | b725397086d7cbd8dca7073cb3111ded7834d28c /engines | |
parent | 56e826807376b7fb213c6bc6497c8a286e4446f5 (diff) | |
download | scummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.tar.gz scummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.tar.bz2 scummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.zip |
SWORD25: Do not cast away const qualifier.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sword25/fmv/movieplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/fmv/movieplayer.cpp b/engines/sword25/fmv/movieplayer.cpp index d0ad41de22..1acb366b3a 100644 --- a/engines/sword25/fmv/movieplayer.cpp +++ b/engines/sword25/fmv/movieplayer.cpp @@ -129,7 +129,7 @@ void MoviePlayer::update() { assert(s->format.bytesPerPixel == 4); #ifdef THEORA_INDIRECT_RENDERING - byte *frameData = (byte *)s->getBasePtr(0, 0); + const byte *frameData = (const byte *)s->getBasePtr(0, 0); _outputBitmap->setContent(frameData, s->pitch * s->h, 0, s->pitch); #else g_system->copyRectToScreen((byte *)s->getBasePtr(0, 0), s->pitch, _outX, _outY, MIN(s->w, _backSurface->w), MIN(s->h, _backSurface->h)); |