summaryrefslogtreecommitdiff
path: root/glx/glxdriswrast.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r--glx/glxdriswrast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index e6cb1eeb1..ac8fd47c4 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -327,9 +327,9 @@ __glXDRIscreenCreateDrawable(ClientPtr client,
private->swapgc = CreateScratchGC(pScreen, pDraw->depth);
gcvals[0].val = GXcopy;
- dixChangeGC(NullClient, private->gc, GCFunction, NULL, gcvals);
+ ChangeGC(NullClient, private->gc, GCFunction, gcvals);
gcvals[1].val = FALSE;
- dixChangeGC(NullClient, private->gc, GCFunction | GCGraphicsExposures, NULL, gcvals);
+ ChangeGC(NullClient, private->gc, GCFunction | GCGraphicsExposures, gcvals);
private->driDrawable =
(*driScreen->swrast->createNewDrawable)(driScreen->driScreen,