summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/shade.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-02-17 16:19:30 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-02-17 16:36:06 +0100
commit70908de17a69aaeb9ea9a2ad15d45bda12671bdf (patch)
tree85c6b480017ba88b4893d21578e5ac1d5148e6d7 /include/mupdf/fitz/shade.h
parentd3e3c894673a72753ba9cea5786ab7fbff78e2e8 (diff)
downloadmupdf-70908de17a69aaeb9ea9a2ad15d45bda12671bdf.tar.xz
Simplify shade vertex preparation and remove redundant memcpy calls.
Diffstat (limited to 'include/mupdf/fitz/shade.h')
-rw-r--r--include/mupdf/fitz/shade.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/shade.h b/include/mupdf/fitz/shade.h
index b33b832e..3cd43bd7 100644
--- a/include/mupdf/fitz/shade.h
+++ b/include/mupdf/fitz/shade.h
@@ -92,7 +92,7 @@ struct fz_vertex_s
typedef struct fz_mesh_processor_s fz_mesh_processor;
-typedef void (fz_mesh_prepare_fn)(void *arg, fz_vertex *v);
+typedef void (fz_mesh_prepare_fn)(void *arg, fz_vertex *v, const float *c);
typedef void (fz_mesh_process_fn)(void *arg, fz_vertex *av, fz_vertex *bv, fz_vertex *cv);
struct fz_mesh_processor_s {