summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-shade.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/pdf/pdf-shade.c b/source/pdf/pdf-shade.c
index 970a2ed1..092c30e2 100644
--- a/source/pdf/pdf-shade.c
+++ b/source/pdf/pdf-shade.c
@@ -1,9 +1,6 @@
#include "mupdf/fitz.h"
#include "mupdf/pdf.h"
-/* FIXME: Remove this somehow */
-#define FUNSEGS 32 /* size of sampled mesh for function-based shadings */
-
/* Sample various functions into lookup tables */
static void
@@ -48,6 +45,8 @@ pdf_sample_shade_function(fz_context *ctx, fz_shade *shade, int funcs, pdf_funct
/* Type 1-3 -- Function-based, linear and radial shadings */
+#define FUNSEGS 64 /* size of sampled mesh for function-based shadings */
+
static void
pdf_load_function_based_shading(fz_context *ctx, pdf_document *doc, fz_shade *shade, pdf_obj *dict, pdf_function *func)
{