[Scummvm-cvs-logs] SF.net SVN: scummvm:[42973] scummvm/trunk/engines/cine/pal.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Sat Aug 1 11:53:21 CEST 2009
Revision: 42973
http://scummvm.svn.sourceforge.net/scummvm/?rev=42973&view=rev
Author: buddha_
Date: 2009-08-01 09:53:21 +0000 (Sat, 01 Aug 2009)
Log Message:
-----------
Remove obsolete comment from Cine::Palette::saturatedAddColor.
Modified Paths:
--------------
scummvm/trunk/engines/cine/pal.cpp
Modified: scummvm/trunk/engines/cine/pal.cpp
===================================================================
--- scummvm/trunk/engines/cine/pal.cpp 2009-08-01 03:26:39 UTC (rev 42972)
+++ scummvm/trunk/engines/cine/pal.cpp 2009-08-01 09:53:21 UTC (rev 42973)
@@ -239,9 +239,6 @@
}
// a.k.a. transformColor
-// Parameter color components (i.e. r, g and b) are in range [-7, 7]
-// e.g. r = 7 sets the resulting color's red component to maximum
-// e.g. r = -7 sets the resulting color's red component to minimum (i.e. zero)
Cine::Palette::Color Palette::saturatedAddColor(Cine::Palette::Color baseColor, signed r, signed g, signed b) const {
Cine::Palette::Color result;
result.r = CLIP<int>(baseColor.r + r, 0, _format.rMax());
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