aboutsummaryrefslogtreecommitdiffstats
path: root/fbpdf.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-04 08:19:36 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-04 08:19:36 +0100
commit679347ddc22e82197c31ef89e388154084506f72 (patch)
treec60d383df85c5834a6b7c22e7351b65413e78851 /fbpdf.c
parentfb7fa435af36197db5493775d01b4339484ae225 (diff)
downloadfbida-679347ddc22e82197c31ef89e388154084506f72.tar.gz
drm format wireup
Diffstat (limited to 'fbpdf.c')
-rw-r--r--fbpdf.c4
1 files changed, 2 insertions, 2 deletions
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);