[color] Fixed HLS to RGB conversion
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 11 Mar 2009 13:53:27 +0000 (13:53 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 11 Mar 2009 13:58:31 +0000 (13:58 +0000)
commite430903acd4b7f7da8cbb5e0f6f95e1eff0b9bba
tree8b88e9fc0a473bff3cb794715689412eba53ce85
parent5e9894fbace4379b8c2c1b30c826858009187689
[color] Fixed HLS to RGB conversion

The fixed-point values are converted to integers, which obviously
messes up the conversion. Instead, they should be converted to
floating point values before normalizing to bytes for the assignment
to ClutterColor components.
clutter/clutter-color.c