diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-27 13:32:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-27 14:26:22 +0100 |
commit | 87b66f4cf034c2e058f69d848763bb4bdc45bfbf (patch) | |
tree | a31780a1bb53792aaa8468b6de99959e52eaa5df /overlay | |
parent | 396fa1b3f52936f5b491e54aff658b272231b22f (diff) |
overlay: Set the text color in case we do not have RC6
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/overlay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c index de201772..d1eb158c 100644 --- a/overlay/overlay.c +++ b/overlay/overlay.c @@ -611,6 +611,7 @@ static void show_gpu_freq(struct overlay_context *ctx, struct overlay_gpu_freq * if (has_power) { sprintf(buf, "Power: %llumW", (long long unsigned)gf->power.power_mW); + cairo_set_source_rgba(ctx->cr, 1, 1, 1, 1); cairo_move_to(ctx->cr, PAD, y); cairo_show_text(ctx->cr, buf); y += 14; @@ -618,6 +619,7 @@ static void show_gpu_freq(struct overlay_context *ctx, struct overlay_gpu_freq * if (has_irqs) { sprintf(buf, "Interrupts: %llu", (long long unsigned)gf->irqs.delta); + cairo_set_source_rgba(ctx->cr, 1, 1, 1, 1); cairo_move_to(ctx->cr, PAD, y); cairo_show_text(ctx->cr, buf); y += 14; |