summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2012-05-01 01:41:25 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2012-05-01 09:12:53 -0700
commit885289be955a17cb75a401a71d3b6529c755e96b (patch)
tree9e6b0e3d5758ca9d1f8126541882191733fb3bd3
parentc51dd0ad9b442a05844e1b8eb3e4b511af8c0392 (diff)
Fix for another indeterminism from 60640aeb33b18f9a9fcd76fc6f1083d7c7635f2
-rw-r--r--gs/base/gxdcolor.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/gs/base/gxdcolor.c b/gs/base/gxdcolor.c
index 9d64b41e9..3b0717f0a 100644
--- a/gs/base/gxdcolor.c
+++ b/gs/base/gxdcolor.c
@@ -629,15 +629,12 @@ gx_dc_devn_write(
{
int k;
- if (psdc != 0 && psdc->type == pdevc->type) {
- for (k = 0; k < GX_DEVICE_COLOR_MAX_COMPONENTS; k++) {
- if (pdevc->colors.devn.values[k] != psdc->colors.devn.values[k]) {
- return gx_devn_write_color(pdevc, dev, pdata, psize);;
- }
- }
- *psize = 0;
- return 1;
- }
+ /* Due to the fact that the devn color type can vary
+ being cmd_opv_ext_put_drawing_color, cmd_opv_ext_put_tile_devn_color0,
+ cmd_opv_ext_put_tile_devn_color1, or cmd_opv_ext_put_drawing_color
+ and these are stored in different locations during clist playback
+ (&set_dev_colors[0] &set_dev_colors[1] &dev_color) we will not check
+ if there is a change here */
return gx_devn_write_color(pdevc, dev, pdata, psize);
}