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 /glx | |
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 'glx')
-rw-r--r-- | glx/glxdriswrast.c | 4 |
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, |