[Scummvm-cvs-logs] SF.net SVN: scummvm:[44551] scummvm/trunk/engines/cruise/gfxModule.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Oct 3 10:59:11 CEST 2009
Revision: 44551
http://scummvm.svn.sourceforge.net/scummvm/?rev=44551&view=rev
Author: dreammaster
Date: 2009-10-03 08:59:11 +0000 (Sat, 03 Oct 2009)
Log Message:
-----------
Added a +1 for dirty rectangle calculation so final column of changed area is included
Modified Paths:
--------------
scummvm/trunk/engines/cruise/gfxModule.cpp
Modified: scummvm/trunk/engines/cruise/gfxModule.cpp
===================================================================
--- scummvm/trunk/engines/cruise/gfxModule.cpp 2009-10-03 05:16:19 UTC (rev 44550)
+++ scummvm/trunk/engines/cruise/gfxModule.cpp 2009-10-03 08:59:11 UTC (rev 44551)
@@ -372,7 +372,7 @@
} else if ((sliceXEnd != -1) && (xp >= (sliceXEnd + 10))) {
// If more than 10 pixels have gone by without any changes, then end the slice
- gfxModuleData_addDirtyRect(Common::Rect(sliceXStart, yp, sliceXEnd, MIN(yp + 2, 200)));
+ gfxModuleData_addDirtyRect(Common::Rect(sliceXStart, yp, sliceXEnd + 1, MIN(yp + 2, 200)));
sliceXStart = sliceXEnd = -1;
}
}
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