diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-17 18:32:30 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-17 19:00:29 +0100 |
commit | ef43aa8826d3f1bcbb5ad79018c3648a9c41bd2a (patch) | |
tree | c4caf8457bbadc0936fc9ff8eda4000c873086c0 | |
parent | 8fdc4427eacd0be156e34d8cbeb9323eaea09df3 (diff) | |
download | mupdf-ef43aa8826d3f1bcbb5ad79018c3648a9c41bd2a.tar.xz |
Fix shape handling in draw-device.
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index e2579b9f..54ed3f05 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -1645,7 +1645,7 @@ fz_draw_clip_image_mask(fz_context *ctx, fz_device *devp, fz_image *image, const if (state[1].shape) fz_dump_blend(ctx, state[1].shape, "/"); #endif - fz_paint_image(mask, &bbox, state->shape, pixmap, &local_ctm, 255, !(devp->hints & FZ_DONT_INTERPOLATE_IMAGES), devp->flags & FZ_DEVFLAG_GRIDFIT_AS_TILED); + fz_paint_image(mask, &bbox, state[1].shape, pixmap, &local_ctm, 255, !(devp->hints & FZ_DONT_INTERPOLATE_IMAGES), devp->flags & FZ_DEVFLAG_GRIDFIT_AS_TILED); #ifdef DUMP_GROUP_BLENDS fz_dump_blend(ctx, state[1].dest, " to get "); if (state[1].shape) |