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:
parent
7944d0d976
commit
af9de650ac
|
@ -122,15 +122,15 @@ _set_rgba_from_rgb(uint32_t *rgba, float r, float g, float b)
|
|||
static inline void
|
||||
_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[1] = s;
|
||||
hsv[2] = v;
|
||||
hsv[0] = h;
|
||||
hsv[1] = s;
|
||||
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]);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue