summaryrefslogtreecommitdiff
path: root/draw/meshdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/meshdraw.c')
-rw-r--r--draw/meshdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/meshdraw.c b/draw/meshdraw.c
index f1c5ccc2..08411e6b 100644
--- a/draw/meshdraw.c
+++ b/draw/meshdraw.c
@@ -328,7 +328,7 @@ fz_rendershade(fz_shade *shade, fz_matrix ctm, fz_pixmap *dest, fz_bbox bbox)
if (shade->usefunction)
{
- temp = fz_newpixmapwithrect(pdf_devicegray, bbox);
+ temp = fz_newpixmapwithrect(fz_devicegray, bbox);
fz_clearpixmap(temp, 0);
ntris = shade->meshlen / 9;
}