summaryrefslogtreecommitdiff
path: root/source/fitz/draw-device.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-17 18:32:30 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-17 19:00:29 +0100
commitef43aa8826d3f1bcbb5ad79018c3648a9c41bd2a (patch)
treec4caf8457bbadc0936fc9ff8eda4000c873086c0 /source/fitz/draw-device.c
parent8fdc4427eacd0be156e34d8cbeb9323eaea09df3 (diff)
downloadmupdf-ef43aa8826d3f1bcbb5ad79018c3648a9c41bd2a.tar.xz
Fix shape handling in draw-device.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r--source/fitz/draw-device.c2
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)