lib: use cairo_paint()

We don't care about paths here, so just use cairo_paint().
This commit is contained in:
Christian Hergert 2023-02-14 12:23:06 -08:00
parent 441b7355ef
commit 2efcaed79a

View File

@ -449,7 +449,7 @@ mks_cairo_framebuffer_clear (MksCairoFramebuffer *self)
self->n_columns * TILE_WIDTH,
self->n_rows * TILE_HEIGHT);
cairo_set_source_rgba (cr, 0, 0, 0, 1);
cairo_fill (cr);
cairo_paint (cr);
cairo_destroy (cr);
}