From ef43aa8826d3f1bcbb5ad79018c3648a9c41bd2a Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 17 Jul 2017 18:32:30 +0100 Subject: Fix shape handling in draw-device. --- source/fitz/draw-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3