From 5e23676de94241e998684bb91c27b526c5044e1d Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 28 May 2019 00:50:38 -0500 Subject: [PATCH] *angrily at the drive-thru whale* Look what you did! --- examples/cluster.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/cluster.c b/examples/cluster.c index db82552..9d7c224 100644 --- a/examples/cluster.c +++ b/examples/cluster.c @@ -161,12 +161,9 @@ static void draw_mfd(cairo_t *cr, static void draw_gauge_cluster_bg(hexagram_window *window, double width, double height) { - cairo_surface_t *sfc; cairo_t *cr; - sfc = window->surface_bg; - - cr = cairo_create(sfc); + cr = hexagram_window_create_bg_context(window); /* * Paint canvas black