summaryrefslogtreecommitdiff
path: root/hw/xfree86/xf4bpp/mfbzerarc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xf4bpp/mfbzerarc.c')
-rw-r--r--hw/xfree86/xf4bpp/mfbzerarc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/xf4bpp/mfbzerarc.c b/hw/xfree86/xf4bpp/mfbzerarc.c
index 106fc6ae5..4853f8807 100644
--- a/hw/xfree86/xf4bpp/mfbzerarc.c
+++ b/hw/xfree86/xf4bpp/mfbzerarc.c
@@ -108,7 +108,7 @@ v16ZeroArcSS
int pmask;
register int *paddr;
- if (((mfbPrivGC *)(pGC->devPrivates[mfbGCPrivateIndex].ptr))->rop ==
+ if (((mfbPrivGC *)(pGC->devPrivates[mfbGetGCPrivateIndex()].ptr))->rop ==
RROP_BLACK)
pixel = 0;
else