Also lift DRI lock when destroying context from ClientGone callback.

This commit is contained in:
Kristian Høgsberg 2006-01-18 23:18:22 +00:00
parent b9fdfa1534
commit 9d209d4adf
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-01-18 Kristian Høgsberg <krh@redhat.com>
* GL/glx/glxext.c (ClientGone): Also lift DRI lock when destroying
context from ClientGone callback.
2006-01-17 Kristian Høgsberg <krh@redhat.com>
* GL/Makefile.am:

View file

@ -129,7 +129,7 @@ static int ClientGone(int clientIndex, XID id)
__glXDeassociateContext(cx);
cx->isCurrent = GL_FALSE;
if (!cx->idExists) {
__glXFreeContext(cx);
DRIUnlockedCallback(__glXFreeContext, cx, 0);
}
}
}