app: fix handling of fully desaturated colors in lch chroma mode

This commit is contained in:
Ell
2017-02-03 13:55:30 -05:00
parent eb93475deb
commit 1a2ef41492

View File

@ -1600,6 +1600,12 @@ blendfun_lch_chroma (const float *dest,
out[1] = A;
out[2] = B;
}
else
{
out[0] = dest[0];
out[1] = dest[1];
out[2] = dest[2];
}
}
out[ALPHA] = src[ALPHA];