summaryrefslogtreecommitdiff
path: root/source/xps/xps-image.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-29 16:46:17 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-07-05 15:32:34 +0200
commitea7403b4c172338dfe7f371302f82859921e60af (patch)
tree4a3fbf8ea35cb53fcbf395f096cf61ffda7b40be /source/xps/xps-image.c
parent4a99615a609eec2b84bb2341d74fac46a5998137 (diff)
downloadmupdf-ea7403b4c172338dfe7f371302f82859921e60af.tar.xz
Pass matrices by value: device and document interface.
Diffstat (limited to 'source/xps/xps-image.c')
-rw-r--r--source/xps/xps-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-image.c b/source/xps/xps-image.c
index b5affe35..dca10178 100644
--- a/source/xps/xps-image.c
+++ b/source/xps/xps-image.c
@@ -22,7 +22,7 @@ xps_paint_image_brush(fz_context *ctx, xps_document *doc, fz_matrix ctm, fz_rect
xs = image->w * 96 / image->xres;
ys = image->h * 96 / image->yres;
ctm = fz_pre_scale(ctm, xs, ys);
- fz_fill_image(ctx, doc->dev, image, &ctm, doc->opacity[doc->opacity_top], fz_default_color_params(ctx));
+ fz_fill_image(ctx, doc->dev, image, ctm, doc->opacity[doc->opacity_top], fz_default_color_params(ctx));
}
static void