aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 02:36:17 +0200
committerJohannes Schickel2012-06-16 02:39:00 +0200
commit084c1259fc5c185ec66001708f623d03675bf6f5 (patch)
treebd522111168593ea5739c61ecb1d97773923379a /engines/sci/engine
parentebb5cb7e4c6266e99382792f6c3d65868f5bc5e9 (diff)
downloadscummvm-rg350-084c1259fc5c185ec66001708f623d03675bf6f5.tar.gz
scummvm-rg350-084c1259fc5c185ec66001708f623d03675bf6f5.tar.bz2
scummvm-rg350-084c1259fc5c185ec66001708f623d03675bf6f5.zip
SCI: Get rid of casts on OSystem::copyRectToScreen calls.
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kvideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kvideo.cpp b/engines/sci/engine/kvideo.cpp
index f176a13721..fa9cc91aed 100644
--- a/engines/sci/engine/kvideo.cpp
+++ b/engines/sci/engine/kvideo.cpp
@@ -100,7 +100,7 @@ void playVideo(Video::VideoDecoder *videoDecoder, VideoState videoState) {
g_sci->_gfxScreen->scale2x((byte *)frame->pixels, scaleBuffer, videoDecoder->getWidth(), videoDecoder->getHeight(), bytesPerPixel);
g_system->copyRectToScreen(scaleBuffer, pitch, x, y, width, height);
} else {
- g_system->copyRectToScreen((byte *)frame->pixels, frame->pitch, x, y, width, height);
+ g_system->copyRectToScreen(frame->pixels, frame->pitch, x, y, width, height);
}
if (videoDecoder->hasDirtyPalette())