fosphor/gl_cmap_gen: Spacing fix in _set_rgba_from_hsv

Not sure where this came from ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2015-05-20 10:05:30 +02:00
parent 7944d0d976
commit af9de650ac
1 changed files with 6 additions and 6 deletions

View File

@ -122,15 +122,15 @@ _set_rgba_from_rgb(uint32_t *rgba, float r, float g, float b)
static inline void static inline void
_set_rgba_from_hsv(uint32_t *rgba, float h, float s, float v) _set_rgba_from_hsv(uint32_t *rgba, float h, float s, float v)
{ {
float hsv[3], rgb[3]; float hsv[3], rgb[3];
hsv[0] = h; hsv[0] = h;
hsv[1] = s; hsv[1] = s;
hsv[2] = v; hsv[2] = v;
_hsv2rgb(rgb, hsv); _hsv2rgb(rgb, hsv);
_set_rgba_from_rgb(rgba, rgb[0], rgb[1], rgb[2]); _set_rgba_from_rgb(rgba, rgb[0], rgb[1], rgb[2]);
} }