From 679347ddc22e82197c31ef89e388154084506f72 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 4 Feb 2019 08:19:36 +0100 Subject: drm format wireup --- fbpdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fbpdf.c') diff --git a/fbpdf.c b/fbpdf.c index c29f78b..2e08fff 100644 --- a/fbpdf.c +++ b/fbpdf.c @@ -337,13 +337,13 @@ int main(int argc, char *argv[]) } surface1 = cairo_image_surface_create_for_data(gfx->mem, - CAIRO_FORMAT_ARGB32, + gfx->fmt->cairo, gfx->hdisplay, gfx->vdisplay, gfx->stride); if (gfx->mem2) { surface2 = cairo_image_surface_create_for_data(gfx->mem2, - CAIRO_FORMAT_ARGB32, + gfx->fmt->cairo, gfx->hdisplay, gfx->vdisplay, gfx->stride); -- cgit