diff options
Diffstat (limited to 'engines/gob/coktelvideo.cpp')
-rw-r--r-- | engines/gob/coktelvideo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp index 50425d7679..c86ac48459 100644 --- a/engines/gob/coktelvideo.cpp +++ b/engines/gob/coktelvideo.cpp @@ -1281,6 +1281,10 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) { int16 l = part.left, t = part.top, r = part.right, b = part.bottom; if (renderFrame(l, t, r, b)) { + if (!_externalCodec) { + l /= _bytesPerPixel; + r /= _bytesPerPixel; + } // Rendering succeeded, merging areas state.left = MIN(state.left, l); state.top = MIN(state.top, t); |