[Scummvm-cvs-logs] SF.net SVN: scummvm:[48263] scummvm/branches/branch-1-1-0/graphics/video/ coktelvideo/coktelvideo.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Mar 15 18:45:59 CET 2010
Revision: 48263
http://scummvm.svn.sourceforge.net/scummvm/?rev=48263&view=rev
Author: drmccoy
Date: 2010-03-15 17:45:59 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Backporting r48262: 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/branches/branch-1-1-0/graphics/video/coktelvideo/coktelvideo.cpp
Modified: scummvm/branches/branch-1-1-0/graphics/video/coktelvideo/coktelvideo.cpp
===================================================================
--- scummvm/branches/branch-1-1-0/graphics/video/coktelvideo/coktelvideo.cpp 2010-03-15 17:44:59 UTC (rev 48262)
+++ scummvm/branches/branch-1-1-0/graphics/video/coktelvideo/coktelvideo.cpp 2010-03-15 17:45:59 UTC (rev 48263)
@@ -644,6 +644,7 @@
_stream->read(_frameData, size);
_frameDataLen = size;
+/*
if (_vidMemWidth <= state.right) {
state.left = 0;
state.right -= state.left;
@@ -656,6 +657,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