summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-11-28 21:54:26 +0000
committerTor Andersson <tor@ghostscript.com>2010-11-28 21:54:26 +0000
commit71a1131902da7e7f41566eb67cae3cad60bb14f4 (patch)
tree9900a5be346d04d811ec2282a35be3d37e5b6951 /draw
parentd63dc50e7d0ac6f1adccd9507b41410e0cbb0faf (diff)
downloadmupdf-71a1131902da7e7f41566eb67cae3cad60bb14f4.tar.xz
Support luminosity softmask background colors.
Diffstat (limited to 'draw')
-rw-r--r--draw/meshdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/meshdraw.c b/draw/meshdraw.c
index b5880ddf..74035cfd 100644
--- a/draw/meshdraw.c
+++ b/draw/meshdraw.c
@@ -335,7 +335,7 @@ fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_bbox bbox)
}
conv = fz_newpixmapwithrect(dest->colorspace, bbox);
temp = fz_newpixmapwithrect(fz_devicegray, bbox);
- fz_clearpixmap(temp, 0);
+ fz_clearpixmap(temp);
ntris = shade->meshlen / 9;
}
else