diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-03 18:33:48 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-19 19:41:23 +0100 |
commit | f957eae764e6dbc74401b66d6a18ba3290fdb982 (patch) | |
tree | 224513a5080adde16386669feb0881aefe75794a /source/fitz/draw-affine.c | |
parent | 3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff) | |
download | mupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz |
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots
should be rendered separately, or as composite colors.
Diffstat (limited to 'source/fitz/draw-affine.c')
-rw-r--r-- | source/fitz/draw-affine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c index 866cd638..ca44be7e 100644 --- a/source/fitz/draw-affine.c +++ b/source/fitz/draw-affine.c @@ -3223,7 +3223,7 @@ fz_paint_image_imp(fz_pixmap * restrict dst, const fz_irect *scissor, const fz_p dolerp = lerp_allowed; /* except when we shouldn't, at large magnifications */ - if (!img->interpolate) + if (!(img->flags & FZ_PIXMAP_FLAG_INTERPOLATE)) { if (sqrtf(local_ctm.a * local_ctm.a + local_ctm.b * local_ctm.b) > img->w * 2) dolerp = 0; |