diff options
author | Johannes Schickel | 2012-06-16 02:36:17 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-16 02:39:00 +0200 |
commit | 084c1259fc5c185ec66001708f623d03675bf6f5 (patch) | |
tree | bd522111168593ea5739c61ecb1d97773923379a /engines/sci/engine | |
parent | ebb5cb7e4c6266e99382792f6c3d65868f5bc5e9 (diff) | |
download | scummvm-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.cpp | 2 |
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()) |