diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2011-06-25 11:07:25 -0700 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2011-06-26 22:13:37 -0700 |
commit | f4e1d4b280f6e6ff73d630e2b103a1a6b50c03d9 (patch) | |
tree | 2b840e7fbf8d89771b110eb79585841adf7e3262 /psi/psitop.c | |
parent | 7af1ebacdb9947ea5197523bcda7764431769e8f (diff) |
Fix for icc directory and icc device profile initialization.
Diffstat (limited to 'psi/psitop.c')
-rw-r--r-- | psi/psitop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/psi/psitop.c b/psi/psitop.c index 8bc45da08..41b228e72 100644 --- a/psi/psitop.c +++ b/psi/psitop.c @@ -297,6 +297,10 @@ ps_impl_set_device( ps_interp_instance_t *psi = (ps_interp_instance_t *)instance; gs_state *pgs = psi->minst->i_ctx_p->pgs; + code = gsicc_sync_iccdir(device, pgs); + if (code < 0) + return code; + /* Initialize device ICC profile */ code = gsicc_init_device_profile_struct(device, NULL, 0); if (code < 0) |