diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2023-03-10 12:30:47 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-03-13 09:08:11 +0000 |
commit | 0374c1831d8f25f265792f41b905794e9f2530d1 (patch) | |
tree | 588dc8ad503d46a66758738b8a000af638c2644f | |
parent | bc28396c93d90f857984cbcf9e342b37ecbd85c4 (diff) | |
download | ghostpdl-0374c1831d8f25f265792f41b905794e9f2530d1.tar.gz |
Fix display device test failure with chunky separations.
Both planar and chunky separations need our own
fill_rectangle_hl_color routine.
-rw-r--r-- | devices/gdevdsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/gdevdsp.c b/devices/gdevdsp.c index 7790dd0e8..e279d5874 100644 --- a/devices/gdevdsp.c +++ b/devices/gdevdsp.c @@ -1593,9 +1593,9 @@ display_create_buf_device(gx_device **pbdev, gx_device *target, int y, } else { gs_make_mem_device(mdev, mdproto, mem, (color_usage == NULL ? 1 : 0), target); - if (ddev->nFormat & DISPLAY_COLORS_SEPARATION) - mdev->procs.fill_rectangle_hl_color = display_fill_rectangle_hl_color; } + if (ddev->nFormat & DISPLAY_COLORS_SEPARATION) + mdev->procs.fill_rectangle_hl_color = display_fill_rectangle_hl_color; mdev->width = target->width; mdev->band_y = y; mdev->log2_align_mod = target->log2_align_mod; |