From 1603497411d30a12e9822abe0a6cf3c021298941 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Tue, 20 Jan 2015 21:52:12 +0100 Subject: [PATCH] fosphor/gl: Use the right cmap when drawing the histogram intensity scale Signed-off-by: Sylvain Munaut --- lib/fosphor/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fosphor/gl.c b/lib/fosphor/gl.c index b87b405..c7f8a30 100644 --- a/lib/fosphor/gl.c +++ b/lib/fosphor/gl.c @@ -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))