diff options
Diffstat (limited to 'source/fitz/test-device.c')
-rw-r--r-- | source/fitz/test-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/test-device.c b/source/fitz/test-device.c index d0bd08c7..45642cd0 100644 --- a/source/fitz/test-device.c +++ b/source/fitz/test-device.c @@ -184,7 +184,7 @@ fz_test_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, const fz_ma return; } - pix = fz_new_pixmap_from_image(ctx, image, 0, 0); + pix = fz_image_get_pixmap(ctx, image, 0, 0); if (pix == NULL) /* Should never happen really, but... */ return; |