[1/2] winex11.drv: Make wglShareLists() cope with previously selected destination context (try 4)
jim_24601 at btinternet.com
Tue Sep 30 16:48:55 CDT 2008
The current wglShareLists() will fail if the destination context has ever been made current. This causes a crash in Homeworld 2, unless pbuffers are disabled. This patch fixes the crash by deleting and recreating the underlying OpenGL context, unless it is still current in some thread.
Added a conformance test.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5154 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080930/92b8fd0e/attachment-0001.patch
More information about the wine-patches