summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-03-10 12:30:47 +0000
committerRobin Watts <Robin.Watts@artifex.com>2023-03-10 15:34:06 +0000
commit280165d922732e13d21958ae645f654812f25cfc (patch)
treec177b846567dfd254f58d6351b266eca968f2c7e /devices
parent5e2c018ca8f0564d6528c2f7cff65446675e2211 (diff)
downloadghostpdl-280165d922732e13d21958ae645f654812f25cfc.tar.gz
Fix display device test failure with chunky separations.
Both planar and chunky separations need our own fill_rectangle_hl_color routine.
Diffstat (limited to 'devices')
-rw-r--r--devices/gdevdsp.c4
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;