aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2009-08-01 09:53:21 +0000
committerKari Salminen2009-08-01 09:53:21 +0000
commit29a09630423e5e7e5b3143045188ab9c9c721d03 (patch)
tree021d43187c903450d1086b968f45c6930b65a1bf
parentef8597d806611060162459d1b3b865cb24df2fcf (diff)
downloadscummvm-rg350-29a09630423e5e7e5b3143045188ab9c9c721d03.tar.gz
scummvm-rg350-29a09630423e5e7e5b3143045188ab9c9c721d03.tar.bz2
scummvm-rg350-29a09630423e5e7e5b3143045188ab9c9c721d03.zip
Remove obsolete comment from Cine::Palette::saturatedAddColor.
svn-id: r42973
-rw-r--r--engines/cine/pal.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/cine/pal.cpp b/engines/cine/pal.cpp
index b3e3629239..757419ef87 100644
--- a/engines/cine/pal.cpp
+++ b/engines/cine/pal.cpp
@@ -239,9 +239,6 @@ Palette &Palette::saturatedAddNormalizedGray(Palette& output, byte firstIndex, b
}
// 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());