mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 11:20:41 +01:00
in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), bug 8443
This commit is contained in:
parent
5ed4e35ba5
commit
25e441e8e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1582,7 +1582,7 @@ USED static Bool MakeContextCurrent(Display *dpy, GLXDrawable draw,
|
|||
}
|
||||
|
||||
oldGC = __glXGetCurrentContext();
|
||||
oldOpcode = (gc == oldGC) ? opcode : __glXSetupForCommand(dpy);
|
||||
oldOpcode = (gc == oldGC) ? opcode : __glXSetupForCommand(oldGC->currentDpy);
|
||||
if (!oldOpcode) {
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue