From 6a84cd943430cfc9df55c83aef6a7f8dea6dbb94 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Fri, 7 May 2010 19:38:05 -0700 Subject: Replace dixChangeGC with calls directly to the right variant. Signed-off-by: Jamey Sharp Reviewed-by: Keith Packard --- render/mirect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/mirect.c') diff --git a/render/mirect.c b/render/mirect.c index 38452ec39..13d7fa602 100644 --- a/render/mirect.c +++ b/render/mirect.c @@ -70,7 +70,7 @@ miColorRects (PicturePtr pDst, (*pGC->funcs->ChangeClip) (pGC, CT_REGION, pClip, 0); } - dixChangeGC (NullClient, pGC, mask, NULL, tmpval); + ChangeGC (NullClient, pGC, mask, tmpval); ValidateGC (pDst->pDrawable, pGC); if (xoff || yoff) { @@ -149,7 +149,7 @@ miCompositeRects (CARD8 op, gcvals[0].val = GXcopy; gcvals[1].val = pixel; - dixChangeGC (NullClient, pGC, GCFunction | GCForeground, NULL, gcvals); + ChangeGC (NullClient, pGC, GCFunction | GCForeground, gcvals); ValidateGC (&pPixmap->drawable, pGC); one.x = 0; one.y = 0; -- cgit v1.2.3