diff options
author | Sven Hesse | 2010-03-15 17:44:59 +0000 |
---|---|---|
committer | Sven Hesse | 2010-03-15 17:44:59 +0000 |
commit | a9b7722df35f94d79363886534f393929e305e80 (patch) | |
tree | 23e70da4967c881205c5425da565a10933f4e193 | |
parent | 77c033aca7c24b9d9d0a8900401b56452c069d87 (diff) | |
download | scummvm-rg350-a9b7722df35f94d79363886534f393929e305e80.tar.gz scummvm-rg350-a9b7722df35f94d79363886534f393929e305e80.tar.bz2 scummvm-rg350-a9b7722df35f94d79363886534f393929e305e80.zip |
The frame coordinate cropping for IMDs is wrong, and should be unnecessary anyway, since Imd::renderFrame() should already check for overblitting. This fixes bug #2969904 ("GOB3: Graphical Glitch in finished cutscene")
svn-id: r48262
-rw-r--r-- | graphics/video/coktelvideo/coktelvideo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp index 7b9d2ebb36..aa262c8f90 100644 --- a/graphics/video/coktelvideo/coktelvideo.cpp +++ b/graphics/video/coktelvideo/coktelvideo.cpp @@ -919,6 +919,7 @@ void Imd::videoData(uint32 size, State &state) { _stream->read(_frameData, size); _frameDataLen = size; +/* if (_vidMemWidth <= state.right) { state.left = 0; state.right -= state.left; @@ -931,6 +932,7 @@ void Imd::videoData(uint32 size, State &state) { } if (_vidMemHeight <= state.bottom) state.bottom = _vidMemHeight -1; +*/ state.flags |= renderFrame(state.left, state.top, state.right, state.bottom); state.flags |= _frameData[0]; |