[PATCH] glxdriswrast bugfix: configure swapgc, not gc.

Jamey Sharp jamey at minilop.net
Wed May 19 13:30:35 PDT 2010


I got this wrong in e2929db7b737413cf93fbebdf4d15abdfebff05c.

Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 glx/glxdriswrast.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index ac8fd47..54f4440 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -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,
-- 
1.7.0



More information about the xorg-devel mailing list