summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-01 03:50:43 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-01 03:50:43 +0200
commit5a18d4874159ba759863a3dc29ef11fcd23924f9 (patch)
tree1783453f00a246e3d101f0148480a96ceee7016e /fitz
parent7c6ae0b110d0a29558305878482023ad7e8a66dc (diff)
downloadmupdf-5a18d4874159ba759863a3dc29ef11fcd23924f9.tar.xz
xps: Use opacity masks, and draw gradients with opacity.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/fitz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 5cff40b8..f8bef4c3 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -900,7 +900,7 @@ struct fz_shade_s
float background[FZ_MAXCOLORS];
int usefunction;
- float function[256][FZ_MAXCOLORS];
+ float function[256][FZ_MAXCOLORS + 1];
int type; /* linear, radial, mesh */
int extend[2];