Searched refs:oldGC (Results 1 – 1 of 1) sorted by relevance
126 struct glx_context *oldGC = __glXGetCurrentContext(); in MakeContextCurrent() local139 if (oldGC == gc && in MakeContextCurrent()152 if (oldGC != &dummyContext) { in MakeContextCurrent()153 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent()154 oldGC->currentDpy = NULL; in MakeContextCurrent()166 if (gc->vtable->bind(gc, oldGC, draw, read) != Success) { in MakeContextCurrent()181 if (oldGC->currentDpy == NULL && oldGC != &dummyContext && oldGC->xid == None) { in MakeContextCurrent()185 oldGC->vtable->destroy(oldGC); in MakeContextCurrent()