diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-06-06 06:42:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-10 06:50:47 -0700 |
commit | 353e32d3712f3a883a796ba562ec9fb5a8354837 (patch) | |
tree | b10b6b9d96be0340c5796ac924f8a247ff0fab87 /glx/glxdriswrast.c | |
parent | b3548612c7943011f79a910f9a59bb975984d8a6 (diff) |
glxdriswrast bugfix: configure swapgc, not gc.
I got this wrong in e2929db7b737413cf93fbebdf4d15abdfebff05c.
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>
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r-- | glx/glxdriswrast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index ac8fd47c4..54f4440a3 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, |