diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/glx/x11/glxext.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 057e799f67..d386436396 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -1612,7 +1612,7 @@ USED static Bool MakeContextCurrent(Display *dpy, GLXDrawable draw,  	/* Send a glXMakeCurrent request to bind the new context. */  	bindReturnValue =   	  SendMakeCurrentRequest(dpy, opcode, gc ? gc->xid : None, -				 (dpy != oldGC->currentDpy)  +				 ((dpy != oldGC->currentDpy) || oldGC->isDirect)  				 ? None : oldGC->currentContextTag,  				 draw, read, &reply);      } | 
