mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
Replace dixChangeGC with calls directly to the right variant.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
2d7eb4a19b
commit
6a84cd9434
26 changed files with 103 additions and 120 deletions
|
|
@ -805,7 +805,7 @@ miZeroPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs)
|
|||
{
|
||||
ChangeGCVal gcval;
|
||||
gcval.val = pGC->bgPixel;
|
||||
dixChangeGC(NullClient, pGC, GCForeground, NULL, &gcval);
|
||||
ChangeGC(NullClient, pGC, GCForeground, &gcval);
|
||||
ValidateGC(pDraw, pGC);
|
||||
}
|
||||
pts = &points[numPts >> 1];
|
||||
|
|
@ -835,7 +835,7 @@ miZeroPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs)
|
|||
{
|
||||
ChangeGCVal gcval;
|
||||
gcval.val = fgPixel;
|
||||
dixChangeGC(NullClient, pGC, GCForeground, NULL, &gcval);
|
||||
ChangeGC(NullClient, pGC, GCForeground, &gcval);
|
||||
ValidateGC(pDraw, pGC);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue