[Scummvm-cvs-logs] SF.net SVN: scummvm:[38523] scummvm/branches/branch-0-13-0/gui/widget.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Feb 19 01:31:58 CET 2009
Revision: 38523
http://scummvm.svn.sourceforge.net/scummvm/?rev=38523&view=rev
Author: lordhoto
Date: 2009-02-19 00:31:58 +0000 (Thu, 19 Feb 2009)
Log Message:
-----------
Fix compilation, which was broken with r38522.
Modified Paths:
--------------
scummvm/branches/branch-0-13-0/gui/widget.cpp
Modified: scummvm/branches/branch-0-13-0/gui/widget.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/gui/widget.cpp 2009-02-19 00:25:16 UTC (rev 38522)
+++ scummvm/branches/branch-0-13-0/gui/widget.cpp 2009-02-19 00:31:58 UTC (rev 38523)
@@ -402,7 +402,7 @@
OverlayColor *dst = (OverlayColor*)_gfx.pixels;
Graphics::PixelFormat overlayFormat = g_system->getOverlayFormat();
- OverlayColor fillCol = overlayFormat.RGBToColor(r, g, b);
+ OverlayColor fillCol = Graphics::RGBToColor(r, g, b, overlayFormat);
while (h--) {
for (int i = 0; i < w; ++i) {
*dst++ = fillCol;
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