commit 41f90f2ae0ad17bdd8228111602447c51bc983d8 Author: George Sapountzis Date: Thu Nov 16 02:18:03 2006 +0200 Fix GL context destruction with AIGLX. The logic for freeing GL contexts introduced by "Fix AIGLX VT switching." is inverted. As it is now, GL context destruction is deferred for glxDRIEnterVT(). diff --git a/GL/glx/glxext.c b/GL/glx/glxext.c index 11fb7fc..1f6c7f3 100644 --- a/GL/glx/glxext.c +++ b/GL/glx/glxext.c @@ -237,7 +237,7 @@ GLboolean __glXFreeContext(__GLXcontext * __glXDispatch() or as a callback from the resource manager. In * the latter case we need to lift the DRI lock manually. */ - if (glxBlockClients) { + if (!glxBlockClients) { __glXleaveServer(); cx->destroy(cx); __glXenterServer();