Did check. It is right.

This commit is contained in:
Steven Robertson 2011-06-18 22:30:09 -04:00
parent 98fb376545
commit 883de380fc

View File

@ -37,7 +37,7 @@ void colorclip(float4 *pixbuf, float gamma, float vibrancy, float highpow,
pix.x *= newls;
pix.y *= newls;
pix.z *= newls;
maxc *= newls; // TODO: check this. I think it's right, though.
maxc *= newls;
// Reduce saturation (according to the HSV model) by proportionally
// increasing the values of the other colors.