From 2420b5d3aecb9aa286436215f975513f83828fc5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 11 Jul 2010 16:02:39 +0200 Subject: Refactor image pixel unpacking. --- fitz/dev_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fitz/dev_draw.c') diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c index 9dfa58fc..e769f10a 100644 --- a/fitz/dev_draw.c +++ b/fitz/dev_draw.c @@ -578,7 +578,7 @@ fz_drawfillimage(void *user, fz_pixmap *image, fz_matrix ctm) if (image->colorspace != dev->model) { converted = fz_newpixmap(dev->model, image->x, image->y, image->w, image->h); - fz_convertpixmap(image->colorspace, image, dev->model, converted); + fz_convertpixmap(image, converted); image = converted; } -- cgit v1.2.3