Miklós Máté mtmkls@gmail.com writes:
XCloseDisplay in thread_detach() closes all X windows, but the GLX windows remain, and become zombies. If a new X window is created with the same XID, Mesa refuses to attach a GLX window to it because of the zombie. Observed in the ddraw test.
Is there a reason that creating the GLX window on the window thread wouldn't work?