[Scummvm-cvs-logs] SF.net SVN: scummvm:[46346] scummvm/trunk/engines/teenagent/surface.cpp

megath at users.sourceforge.net megath at users.sourceforge.net
Sat Dec 12 19:12:24 CET 2009


Revision: 46346
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46346&view=rev
Author:   megath
Date:     2009-12-12 18:12:24 +0000 (Sat, 12 Dec 2009)

Log Message:
-----------
fixed dirty rectangle

Modified Paths:
--------------
    scummvm/trunk/engines/teenagent/surface.cpp

Modified: scummvm/trunk/engines/teenagent/surface.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/surface.cpp	2009-12-12 18:07:20 UTC (rev 46345)
+++ scummvm/trunk/engines/teenagent/surface.cpp	2009-12-12 18:12:24 UTC (rev 46346)
@@ -106,7 +106,7 @@
 			dst += surface->pitch;
 		}
 	}
-	return Common::Rect(x + dx, y + dy, x + w + dx, y + h + dy);
+	return Common::Rect(x + dx, y + dy, x + src_rect.width() + dx, y + src_rect.height() + dy);
 }
 
 } // End of namespace TeenAgent


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