summaryrefslogtreecommitdiff
path: root/render/mirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/mirect.c')
-rw-r--r--render/mirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/mirect.c b/render/mirect.c
index 4e76972d1..a36d1d6e3 100644
--- a/render/mirect.c
+++ b/render/mirect.c
@@ -54,7 +54,7 @@ miColorRects(PicturePtr pDst,
tmpval[1].val = pixel;
tmpval[2].val = pDst->subWindowMode;
mask = GCFunction | GCForeground | GCSubwindowMode;
- if (pClipPict->clientClipType == CT_REGION) {
+ if (pClipPict->clientClip) {
tmpval[3].val = pDst->clipOrigin.x - xoff;
tmpval[4].val = pDst->clipOrigin.y - yoff;
mask |= GCClipXOrigin | GCClipYOrigin;