summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-10-17 21:38:36 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-10-18 00:07:38 +0800
commitaea9f03185486cae6d8754fe89effe31a938ccc1 (patch)
treef949194d9c9edd942357c67528f70d31aea0522f /source/pdf
parentd30765c49406236891a7bb684def068b80cf94bd (diff)
downloadmupdf-aea9f03185486cae6d8754fe89effe31a938ccc1.tar.xz
Remove unused luminosity.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-image.c b/source/pdf/pdf-image.c
index fa1d7675..48aba958 100644
--- a/source/pdf/pdf-image.c
+++ b/source/pdf/pdf-image.c
@@ -51,7 +51,7 @@ pdf_load_image_imp(fz_context *ctx, pdf_document *doc, pdf_obj *rdb, pdf_obj *di
fz_drop_pixmap(ctx, tile);
tile = gray;
}
- mask_pixmap = fz_alpha_from_gray(ctx, tile, 1);
+ mask_pixmap = fz_alpha_from_gray(ctx, tile);
fz_drop_pixmap(ctx, tile);
fz_set_pixmap_image_tile(ctx, cimg, mask_pixmap);
}