fosphor/gl: Use the right cmap when drawing the histogram intensity scale
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
7e195eea1b
commit
1603497411
|
@ -464,7 +464,7 @@ fosphor_gl_draw(struct fosphor *self, struct fosphor_render *render)
|
|||
fosphor_gl_cmap_disable();
|
||||
|
||||
if (render->options & FRO_COLOR_SCALE)
|
||||
fosphor_gl_cmap_draw_scale(gl->cmap_waterfall,
|
||||
fosphor_gl_cmap_draw_scale(gl->cmap_histogram,
|
||||
x[1]+2.0f, x[1]+10.0f, y[0], y[1]);
|
||||
}
|
||||
else if (render->options & (FRO_LIVE | FRO_MAX_HOLD))
|
||||
|
|
Loading…
Reference in New Issue