[Scummvm-cvs-logs] SF.net SVN: scummvm:[34862] scummvm/trunk/gui/ThemeEngine.h

Tanoku at users.sourceforge.net Tanoku at users.sourceforge.net
Wed Oct 29 19:57:42 CET 2008


Revision: 34862
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34862&view=rev
Author:   Tanoku
Date:     2008-10-29 18:57:42 +0000 (Wed, 29 Oct 2008)

Log Message:
-----------
Bugfix: Dirty rectangle out of range when blitting into the overlay.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeEngine.h

Modified: scummvm/trunk/gui/ThemeEngine.h
===================================================================
--- scummvm/trunk/gui/ThemeEngine.h	2008-10-29 08:16:13 UTC (rev 34861)
+++ scummvm/trunk/gui/ThemeEngine.h	2008-10-29 18:57:42 UTC (rev 34862)
@@ -376,6 +376,7 @@
 	 *	@param special Deprecated.
 	 */
 	bool addDirtyRect(Common::Rect r, bool backup = false, bool special = false) {
+		r.clip(_screen->w, _screen->h);
 		_dirtyScreen.push_back(r);
 		return true;
 	}


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