diff options
Diffstat (limited to 'source/tools/muraster.c')
-rw-r--r-- | source/tools/muraster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c index 77d60b8f..cbc8be27 100644 --- a/source/tools/muraster.c +++ b/source/tools/muraster.c @@ -601,7 +601,7 @@ static int dodrawpage(fz_context *ctx, int pagenum, fz_cookie *cookie, render_de if (remaining_height < band_height) ibounds.y1 = ibounds.y0 + remaining_height; remaining_height -= band_height; - w->pix = fz_new_pixmap_with_bbox(ctx, colorspace, &ibounds, 0); + w->pix = fz_new_pixmap_with_bbox(ctx, colorspace, &ibounds, NULL, 0); fz_set_pixmap_resolution(ctx, w->pix, x_resolution, y_resolution); DEBUG_THREADS(("Worker %d, Pre-triggering band %d\n", band, band)); w->started = 1; @@ -612,7 +612,7 @@ static int dodrawpage(fz_context *ctx, int pagenum, fz_cookie *cookie, render_de } else { - pix = fz_new_pixmap_with_bbox(ctx, colorspace, &ibounds, 0); + pix = fz_new_pixmap_with_bbox(ctx, colorspace, &ibounds, NULL, 0); fz_set_pixmap_resolution(ctx, pix, x_resolution, y_resolution); } fz_write_header(ctx, render->bander, pix->w, total_height, pix->n, pix->alpha, pix->xres, pix->yres, pagenum, pix->colorspace); |