From be43cce75144de12ff12634fe41c81125946a72a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 9 Aug 2016 10:27:22 -0300 Subject: [PATCH] eeshow/cro.c (cro_img_end): flush surface It worked without it, but better safe than sorry. --- eeshow/cro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeshow/cro.c b/eeshow/cro.c index 7b580ea..da4bed7 100644 --- a/eeshow/cro.c +++ b/eeshow/cro.c @@ -476,6 +476,8 @@ uint32_t *cro_img_end(struct cro_ctx *cc, int *w, int *h, int *stride) record_replay(&cc->record); record_destroy(&cc->record); + cairo_surface_flush(cc->s); + return data; }