summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2009-11-25 00:37:57 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2009-11-25 00:37:57 +0100
commit2b809ad3c8c8724860e44bccd41e4b74a503f26e (patch)
treec4cdbc4a206337a6d5674a535fcdf3ee817f9cba
parent71a5ecaed1293ba6474ffea8b639ba51c7c2baeb (diff)
downloadmupdf-2b809ad3c8c8724860e44bccd41e4b74a503f26e.tar.xz
Remove unnecessary shading function usage indication already set by loadshadedict and pdf_loadshadefunction.
-rw-r--r--mupdf/pdf_shade4.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mupdf/pdf_shade4.c b/mupdf/pdf_shade4.c
index 9b5029a7..4686b74c 100644
--- a/mupdf/pdf_shade4.c
+++ b/mupdf/pdf_shade4.c
@@ -261,10 +261,7 @@ pdf_loadtype5shade(fz_shade *shade, pdf_xref *xref, fz_obj *shading)
if (obj) {
ncomp = 1;
pdf_loadshadefunction(shade, xref, shading, c0[0], c1[0]);
- shade->usefunction = 1;
}
- else
- shade->usefunction = 0;
n = 2 + shade->cs->n;
j = 0;
@@ -627,10 +624,7 @@ pdf_loadtype6shade(fz_shade *shade, pdf_xref *xref, fz_obj *shading)
if (obj) {
ncomp = 1;
pdf_loadshadefunction(shade, xref, shading, c0[0], c1[0]);
- shade->usefunction = 1;
}
- else
- shade->usefunction = 0;
shade->meshcap = 0;
shade->mesh = nil;
@@ -747,10 +741,7 @@ pdf_loadtype7shade(fz_shade *shade, pdf_xref *xref, fz_obj *shading)
if (obj) {
ncomp = 1;
pdf_loadshadefunction(shade, xref, shading, c0[0], c1[0]);
- shade->usefunction = 1;
}
- else
- shade->usefunction = 0;
shade->meshcap = 0;
shade->mesh = nil;