[Scummvm-cvs-logs] SF.net SVN: scummvm:[40805] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat May 23 12:50:24 CEST 2009
Revision: 40805
http://scummvm.svn.sourceforge.net/scummvm/?rev=40805&view=rev
Author: thebluegr
Date: 2009-05-23 10:50:24 +0000 (Sat, 23 May 2009)
Log Message:
-----------
The third and fourth parameter in changePortBounds() are x2 and y2, not width and height
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-05-23 10:22:27 UTC (rev 40804)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2009-05-23 10:50:24 UTC (rev 40805)
@@ -2378,7 +2378,7 @@
s->gfx_state->pic_port_bounds = gfx_rect(UKPV(5), UKPV(4), UKPV(3), UKPV(2));
// Notify the graphics resource manager that the pic port bounds changed
- s->gfx_state->gfxResMan->changePortBounds(UKPV(5), UKPV(4), UKPV(3), UKPV(2));
+ s->gfx_state->gfxResMan->changePortBounds(UKPV(5), UKPV(4), UKPV(3) - UKPV(5), UKPV(2) - UKPV(4));
// FIXME: Should really only invalidate all loaded pic resources here;
// this is overkill
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