summaryrefslogtreecommitdiff
path: root/source/tools/mudraw.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-03 18:33:48 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-19 19:41:23 +0100
commitf957eae764e6dbc74401b66d6a18ba3290fdb982 (patch)
tree224513a5080adde16386669feb0881aefe75794a /source/tools/mudraw.c
parent3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff)
downloadmupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
Diffstat (limited to 'source/tools/mudraw.c')
-rw-r--r--source/tools/mudraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index 1579e905..1959dddc 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -774,7 +774,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in
workers[band].tbounds = tbounds;
memset(&workers[band].cookie, 0, sizeof(fz_cookie));
workers[band].list = list;
- workers[band].pix = fz_new_pixmap_with_bbox(ctx, colorspace, &band_ibounds, alpha);
+ workers[band].pix = fz_new_pixmap_with_bbox(ctx, colorspace, &band_ibounds, NULL, alpha);
fz_set_pixmap_resolution(ctx, workers[band].pix, resolution, resolution);
#ifndef DISABLE_MUTHREADS
DEBUG_THREADS(("Worker %d, Pre-triggering band %d\n", band, band));
@@ -786,7 +786,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in
}
else
{
- pix = fz_new_pixmap_with_bbox(ctx, colorspace, &band_ibounds, alpha);
+ pix = fz_new_pixmap_with_bbox(ctx, colorspace, &band_ibounds, NULL, alpha);
fz_set_pixmap_resolution(ctx, pix, resolution, resolution);
}