summaryrefslogtreecommitdiff
path: root/fitz/dev_draw.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-11 16:02:39 +0200
committerTor Andersson <tor@ghostscript.com>2010-07-11 16:02:39 +0200
commit2420b5d3aecb9aa286436215f975513f83828fc5 (patch)
treea222a2769cdc5dd78a358efc12c5ca57451df4e4 /fitz/dev_draw.c
parent92c206d6adc86ae645d54612b20e3de2df6afc45 (diff)
downloadmupdf-2420b5d3aecb9aa286436215f975513f83828fc5.tar.xz
Refactor image pixel unpacking.
Diffstat (limited to 'fitz/dev_draw.c')
-rw-r--r--fitz/dev_draw.c2
1 files changed, 1 insertions, 1 deletions
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;
}