[Scummvm-cvs-logs] SF.net SVN: scummvm:[45571] scummvm/trunk/engines/sci/gui/gui_view.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Oct 31 19:26:32 CET 2009


Revision: 45571
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45571&view=rev
Author:   thebluegr
Date:     2009-10-31 18:26:31 +0000 (Sat, 31 Oct 2009)

Log Message:
-----------
Added a comment that the current implementation that we got on drawing already scaled views is a temporary hack

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_view.cpp

Modified: scummvm/trunk/engines/sci/gui/gui_view.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_view.cpp	2009-10-31 18:12:19 UTC (rev 45570)
+++ scummvm/trunk/engines/sci/gui/gui_view.cpp	2009-10-31 18:26:31 UTC (rev 45571)
@@ -477,7 +477,7 @@
 			for (x = 0; x < width; x++) {
 				color = bitmap[x];
 				if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) {
-					if (origHeight == -1)
+					if (origHeight == -1)	// HACK: this parameter is passed for already scaled views, but we're not actually using it
 						_screen->putPixel(clipRectTranslated.left + x, y, drawMask, palette->mapping[color], priority, 0);
 					else
 						_screen->putPixelOnDisplay(clipRectTranslated.left + x, y, palette->mapping[color]);


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