projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed4e35
)
in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), bug 8443
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 4 Oct 2006 16:22:24 +0000
(16:22 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 4 Oct 2006 16:22:24 +0000
(16:22 +0000)
src/glx/x11/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/glxext.c
b/src/glx/x11/glxext.c
index d4edf6d85d9366212d558c83714a594229497eba..ab2795efbe543054702653391c998d3e60e1ea7f 100644
(file)
--- a/
src/glx/x11/glxext.c
+++ b/
src/glx/x11/glxext.c
@@
-1582,7
+1582,7
@@
USED static Bool MakeContextCurrent(Display *dpy, GLXDrawable draw,
}
oldGC = __glXGetCurrentContext();
- oldOpcode = (gc == oldGC) ? opcode : __glXSetupForCommand(
d
py);
+ oldOpcode = (gc == oldGC) ? opcode : __glXSetupForCommand(
oldGC->currentD
py);
if (!oldOpcode) {
return GL_FALSE;
}