diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2021-04-22 16:51:10 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2021-04-22 19:04:44 +0100 |
commit | ef6098059700083b28077c8e5c99948cb7f1f1f3 (patch) | |
tree | 846240fa3efcad28cc597cd8252f8bd16ab0feab /base/gxclrect.c | |
parent | cb45afbb6233b46615a4dbc1920d07165a78acf9 (diff) | |
download | ghostpdl-ef6098059700083b28077c8e5c99948cb7f1f1f3.tar.gz |
Fix clist phase problem.
If we are strip_copy_rop2ing a tile, ensure that we set the
tile phase, whether or not we find it in the cache.
This causes various diffs in the cluster, but manual testing
shows that in all the ones I tested (more than half) they now match
the page mode rendering.
Diffstat (limited to 'base/gxclrect.c')
-rw-r--r-- | base/gxclrect.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/gxclrect.c b/base/gxclrect.c index bbfb40d86..da6dda6bf 100644 --- a/base/gxclrect.c +++ b/base/gxclrect.c @@ -1647,13 +1647,13 @@ clist_strip_copy_rop2(gx_device * dev, } continue; } - if (((phase_x != re.pcls->tile_phase.x) && (tiles->rep_width > 1)) || - ((phase_y != re.pcls->tile_phase.y) && (tiles->rep_height > 1))) { - code = cmd_set_tile_phase(cdev, re.pcls, phase_x, - phase_y); - if (code < 0) - return code; - } + } + if (((phase_x != re.pcls->tile_phase.x) && (tiles->rep_width > 1)) || + ((phase_y != re.pcls->tile_phase.y) && (tiles->rep_height > 1))) { + code = cmd_set_tile_phase(cdev, re.pcls, phase_x, + phase_y); + if (code < 0) + return code; } } /* Set the tile colors. */ |