summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairodbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo/cdcairodbuf.c')
-rw-r--r--src/cairo/cdcairodbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo/cdcairodbuf.c b/src/cairo/cdcairodbuf.c
index 4861014..1395e8c 100644
--- a/src/cairo/cdcairodbuf.c
+++ b/src/cairo/cdcairodbuf.c
@@ -60,7 +60,7 @@ static void cdcreatecanvas(cdCanvas* canvas, cdCanvas* canvas_dbuffer)
ctximage = image_dbuffer->ctximage;
/* Init the driver DBuffer */
- ctxcanvas = cdcairoCreateCanvas(canvas, ctximage->img);
+ ctxcanvas = cdcairoCreateCanvas(canvas, ctximage->cr);
if (!ctxcanvas)
return;