[Scummvm-cvs-logs] SF.net SVN: scummvm:[48262] scummvm/trunk/graphics/video/coktelvideo/ coktelvideo.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Mar 15 18:44:59 CET 2010
Revision: 48262
http://scummvm.svn.sourceforge.net/scummvm/?rev=48262&view=rev
Author: drmccoy
Date: 2010-03-15 17:44:59 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
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")
Modified Paths:
--------------
scummvm/trunk/graphics/video/coktelvideo/coktelvideo.cpp
Modified: scummvm/trunk/graphics/video/coktelvideo/coktelvideo.cpp
===================================================================
--- scummvm/trunk/graphics/video/coktelvideo/coktelvideo.cpp 2010-03-14 09:28:47 UTC (rev 48261)
+++ scummvm/trunk/graphics/video/coktelvideo/coktelvideo.cpp 2010-03-15 17:44:59 UTC (rev 48262)
@@ -919,6 +919,7 @@
_stream->read(_frameData, size);
_frameDataLen = size;
+/*
if (_vidMemWidth <= state.right) {
state.left = 0;
state.right -= state.left;
@@ -931,6 +932,7 @@
}
if (_vidMemHeight <= state.bottom)
state.bottom = _vidMemHeight -1;
+*/
state.flags |= renderFrame(state.left, state.top, state.right, state.bottom);
state.flags |= _frameData[0];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list