diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2014-02-17 16:19:30 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2014-02-17 16:36:06 +0100 |
commit | 70908de17a69aaeb9ea9a2ad15d45bda12671bdf (patch) | |
tree | 85c6b480017ba88b4893d21578e5ac1d5148e6d7 /include/mupdf/fitz/shade.h | |
parent | d3e3c894673a72753ba9cea5786ab7fbff78e2e8 (diff) | |
download | mupdf-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.h | 2 |
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 { |