aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorJohannes Schickel2012-04-05 00:35:15 +0200
committerJohannes Schickel2012-04-05 00:40:30 +0200
commit0e17497110ad9ff3e9def3e2f74aee7b33bd6e33 (patch)
treeb725397086d7cbd8dca7073cb3111ded7834d28c /engines/sword25
parent56e826807376b7fb213c6bc6497c8a286e4446f5 (diff)
downloadscummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.tar.gz
scummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.tar.bz2
scummvm-rg350-0e17497110ad9ff3e9def3e2f74aee7b33bd6e33.zip
SWORD25: Do not cast away const qualifier.
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/fmv/movieplayer.cpp2
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));