summaryrefslogtreecommitdiff
path: root/mfb/mfbzerarc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mfb/mfbzerarc.c')
-rw-r--r--mfb/mfbzerarc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mfb/mfbzerarc.c b/mfb/mfbzerarc.c
index 964e2f100..624e45fee 100644
--- a/mfb/mfbzerarc.c
+++ b/mfb/mfbzerarc.c
@@ -92,7 +92,8 @@ mfbZeroArcSS(
PixelType pmask;
register PixelType *paddr;
- if (((mfbPrivGC *)(pGC->devPrivates[mfbGCPrivateIndex].ptr))->rop ==
+ if (((mfbPrivGC *)dixLookupPrivate(&pGC->devPrivates,
+ mfbGetGCPrivateKey()))->rop ==
RROP_BLACK)
pixel = 0;
else