summaryrefslogtreecommitdiff
path: root/source/fitz/svg-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/svg-device.c')
-rw-r--r--source/fitz/svg-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c
index 97a1acca..acc2c5bc 100644
--- a/source/fitz/svg-device.c
+++ b/source/fitz/svg-device.c
@@ -776,7 +776,7 @@ svg_dev_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_ma
fz_round_rect(&bbox, fz_intersect_rect(fz_bound_shade(ctx, shade, ctm, &rect), &dev->container[dev->container_len-1].scissor));
if (fz_is_empty_irect(&bbox))
return;
- pix = fz_new_pixmap_with_bbox(ctx, fz_device_rgb(ctx), &bbox);
+ pix = fz_new_pixmap_with_bbox(ctx, fz_device_rgb(ctx), &bbox, 1);
fz_clear_pixmap(ctx, pix);
fz_try(ctx)