diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2015-05-20 10:05:30 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2015-10-25 21:41:22 +0100 |
commit | af9de650acbb88f801d1c6489628e43b03c0e8c5 (patch) | |
tree | 68192d45074be1b2ce44f2f40e8de46e131c952a | |
parent | 7944d0d976ecd9425d0d4d2e343ef3f9aa109d19 (diff) |
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>
-rw-r--r-- | lib/fosphor/gl_cmap_gen.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/fosphor/gl_cmap_gen.c b/lib/fosphor/gl_cmap_gen.c index 4bc21f8..2244e52 100644 --- a/lib/fosphor/gl_cmap_gen.c +++ b/lib/fosphor/gl_cmap_gen.c @@ -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]); } |