diff options
Diffstat (limited to 'mi/mipolypnt.c')
-rw-r--r-- | mi/mipolypnt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mi/mipolypnt.c b/mi/mipolypnt.c index b54a9fdbe..99ba68afd 100644 --- a/mi/mipolypnt.c +++ b/mi/mipolypnt.c @@ -68,7 +68,7 @@ miPolyPoint( int xorg; int yorg; int nptTmp; - XID fsOld, fsNew; + ChangeGCVal fsOld, fsNew; int *pwidthInit, *pwidth; int i; xPoint *ppt; @@ -103,11 +103,11 @@ miPolyPoint( } } - fsOld = pGC->fillStyle; - fsNew = FillSolid; + fsOld.val = pGC->fillStyle; + fsNew.val = FillSolid; if(pGC->fillStyle != FillSolid) { - dixChangeGC(NullClient, pGC, GCFillStyle, &fsNew, NULL); + dixChangeGC(NullClient, pGC, GCFillStyle, NULL, &fsNew); ValidateGC(pDrawable, pGC); } pwidth = pwidthInit; @@ -115,9 +115,9 @@ miPolyPoint( *pwidth++ = 1; (*pGC->ops->FillSpans)(pDrawable, pGC, npt, pptInit, pwidthInit, FALSE); - if(fsOld != FillSolid) + if(fsOld.val != FillSolid) { - dixChangeGC(NullClient, pGC, GCFillStyle, &fsOld, NULL); + dixChangeGC(NullClient, pGC, GCFillStyle, NULL, &fsOld); ValidateGC(pDrawable, pGC); } free(pwidthInit); |