summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-17 11:25:27 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-17 11:25:27 +0000
commitef3cc79b01ce4e0d5dbd5e9e43aaf07215b57f0b (patch)
treed18bf7a0c00ea47c93dca722715c071d24e44820 /draw
parent9872faa4ce9699cc0f93ee68ba70f84d2b7579ad (diff)
downloadmupdf-ef3cc79b01ce4e0d5dbd5e9e43aaf07215b57f0b.tar.xz
Move device colorspace contants into the fitz namespace.
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 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;
}