On 9/18/06, Roderick Colenbrander thunderbird2k@gmx.net wrote:
Hi,
I had a little amount of time to look at the issue and have posted a fix to the list. It appeared that the GLX context did still exist when X11DRV_InitOpenGLInfo got called the second time from a different thread. This most likely turned wined3d in a multithreaded OpenGL app which doesn't allways work well as OpenGL isn't threadsafe. By switching to a NULL context before killing the context, it got killed immedeately (before it became inactive which it never became). This fixes atleast 3dmark2001 and halflife2.
Roderick
It works with stateblock test too. So yes, that solved the actual problem.
Jesse