diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-07 19:38:05 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-13 17:14:07 -0700 |
commit | 6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 (patch) | |
tree | b6b75bd36bc05c394e3b1e52edaccde1d52a136d /mi/miarc.c | |
parent | 2d7eb4a19b773d0406c0c2e018a7da97f3565fd5 (diff) |
Replace dixChangeGC with calls directly to the right variant.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/miarc.c')
-rw-r--r-- | mi/miarc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mi/miarc.c b/mi/miarc.c index bdcbdf140..7e8ec1f50 100644 --- a/mi/miarc.c +++ b/mi/miarc.c @@ -1043,9 +1043,9 @@ miPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs) gcvals[3].val = pGC->lineWidth; gcvals[4].val = pGC->capStyle; gcvals[5].val = pGC->joinStyle; - dixChangeGC(NullClient, pGCTo, GCFunction | + ChangeGC(NullClient, pGCTo, GCFunction | GCForeground | GCBackground | GCLineWidth | - GCCapStyle | GCJoinStyle, NULL, gcvals); + GCCapStyle | GCJoinStyle, gcvals); } /* allocate a 1 bit deep pixmap of the appropriate size, and @@ -1088,11 +1088,11 @@ miPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs) ChangeGCVal gcval; if (iphase == 1) { gcval.val = bg; - dixChangeGC (NullClient, pGC, GCForeground, NULL, &gcval); + ChangeGC (NullClient, pGC, GCForeground, &gcval); ValidateGC (pDraw, pGC); } else if (pGC->lineStyle == LineDoubleDash) { gcval.val = fg; - dixChangeGC (NullClient, pGC, GCForeground, NULL, &gcval); + ChangeGC (NullClient, pGC, GCForeground, &gcval); ValidateGC (pDraw, pGC); } for (i = 0; i < polyArcs[iphase].narcs; i++) { |