summaryrefslogtreecommitdiff
path: root/afb/afbplygblt.c
diff options
context:
space:
mode:
Diffstat (limited to 'afb/afbplygblt.c')
-rw-r--r--afb/afbplygblt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/afb/afbplygblt.c b/afb/afbplygblt.c
index bcb08c7a6..d1de102d7 100644
--- a/afb/afbplygblt.c
+++ b/afb/afbplygblt.c
@@ -146,8 +146,8 @@ afbPolyGlyphBlt (pDrawable, pGC, x, y, nglyph, ppci, pglyphBase)
bbox.y1 = y - info.overallAscent;
bbox.y2 = y + info.overallDescent;
- rrops = ((afbPrivGCPtr) pGC->devPrivates[afbGCPrivateIndex].ptr)->rrops;
-
+ rrops = ((afbPrivGCPtr)dixLookupPrivate(&pGC->devPrivates,
+ afbGCPrivateKey))->rrops;
switch (RECT_IN_REGION(pGC->pScreen, pGC->pCompositeClip, &bbox)) {
case rgnOUT:
break;