summaryrefslogtreecommitdiff
path: root/fitz/dev_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/dev_draw.c')
-rw-r--r--fitz/dev_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c
index 0e7e8138..3c94c5c3 100644
--- a/fitz/dev_draw.c
+++ b/fitz/dev_draw.c
@@ -833,7 +833,7 @@ fz_drawbeginmask(void *user, fz_rect rect, int luminosity, fz_colorspace *colors
bbox = fz_roundrect(rect);
bbox = fz_intersectbbox(bbox, dev->scissor);
- dest = fz_newpixmapwithrect(pdf_devicegray, bbox);
+ dest = fz_newpixmapwithrect(fz_devicegray, bbox);
if (luminosity)
fz_clearpixmap(dest, 255);