diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2012-01-10 21:16:10 -0800 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2012-01-10 22:32:55 -0800 |
commit | f50368d684e84fe63579494b3e3efe0e4f39f98c (patch) | |
tree | 14871e06b43ab9f733c2876d29b5491076d22a41 /xps | |
parent | 9e2df6f6194c5091dbfc6bde2218569645f5c89a (diff) |
Clean up of the icc color code.
Remove objects and redundant functions that were introduced over the
past couple years. Found these while writing the documentation.
Diffstat (limited to 'xps')
-rw-r--r-- | xps/xpsgradient.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xps/xpsgradient.c b/xps/xpsgradient.c index d676d0d2f..7230bde87 100644 --- a/xps/xpsgradient.c +++ b/xps/xpsgradient.c @@ -96,8 +96,7 @@ xps_parse_gradient_stops(xps_context_t *ctx, char *base_uri, xps_item_t *node, sample_in[i] = sample[i+1]*65535; } gscms_transform_color((gx_device *)(ctx->pgs->device), - icclink, sample_in, sample_out, 2, - NULL); + icclink, sample_in, sample_out, 2); stops[count].color[0] = sample[0]; /* Alpha */ stops[count].color[1] = (float) sample_out[0] / 65535.0; /* sRGB */ |