glxdriswrast bugfix: configure swapgc, not gc.
I got this wrong in e2929db7b7
.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b3548612c7
commit
353e32d371
|
@ -329,7 +329,7 @@ __glXDRIscreenCreateDrawable(ClientPtr client,
|
|||
gcvals[0].val = GXcopy;
|
||||
ChangeGC(NullClient, private->gc, GCFunction, gcvals);
|
||||
gcvals[1].val = FALSE;
|
||||
ChangeGC(NullClient, private->gc, GCFunction | GCGraphicsExposures, gcvals);
|
||||
ChangeGC(NullClient, private->swapgc, GCFunction | GCGraphicsExposures, gcvals);
|
||||
|
||||
private->driDrawable =
|
||||
(*driScreen->swrast->createNewDrawable)(driScreen->driScreen,
|
||||
|
|
Loading…
Reference in New Issue
Block a user