summaryrefslogtreecommitdiff
path: root/base/gscpixel.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-10-31 13:07:23 +0000
committerRobin Watts <robin.watts@artifex.com>2017-11-01 13:38:16 +0000
commitf7b61e0cc56206b6811eee85c4cfd6a0963194e0 (patch)
tree91c89f604e5243d7449bb0f35baad9651a5fd4e9 /base/gscpixel.c
parent31cb4cf7aa88784219f6fc2be362a66df2f67289 (diff)
downloadghostpdl-f7b61e0cc56206b6811eee85c4cfd6a0963194e0.tar.gz
Pass device_profile into color concretizing functions.
Diffstat (limited to 'base/gscpixel.c')
-rw-r--r--base/gscpixel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/gscpixel.c b/base/gscpixel.c
index 78dd5c3bb..447489a0c 100644
--- a/base/gscpixel.c
+++ b/base/gscpixel.c
@@ -97,9 +97,10 @@ gx_concretize_DevicePixel(const gs_client_color * pc, const gs_color_space * pcs
}
static int
-gx_remap_concrete_DevicePixel(const frac * pconc, const gs_color_space * pcs,
- gx_device_color * pdc, const gs_gstate * pgs, gx_device * dev,
- gs_color_select_t select)
+gx_remap_concrete_DevicePixel(const gs_color_space * pcs, const frac * pconc,
+ gx_device_color * pdc, const gs_gstate * pgs,
+ gx_device * dev, gs_color_select_t select,
+ const cmm_dev_profile_t *dev_profile)
{
color_set_pure(pdc, pconc[0] & ((1 << dev->color_info.depth) - 1));
return 0;