[Scummvm-cvs-logs] SF.net SVN: scummvm:[44552] scummvm/branches/branch-1-0-0/engines/cruise/ gfxModule.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Oct 3 10:59:57 CEST 2009
Revision: 44552
http://scummvm.svn.sourceforge.net/scummvm/?rev=44552&view=rev
Author: dreammaster
Date: 2009-10-03 08:59:56 +0000 (Sat, 03 Oct 2009)
Log Message:
-----------
Backport of dirty rectangle calculation fix so final column of changed area is included
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/cruise/gfxModule.cpp
Modified: scummvm/branches/branch-1-0-0/engines/cruise/gfxModule.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/cruise/gfxModule.cpp 2009-10-03 08:59:11 UTC (rev 44551)
+++ scummvm/branches/branch-1-0-0/engines/cruise/gfxModule.cpp 2009-10-03 08:59:56 UTC (rev 44552)
@@ -368,7 +368,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