(resend) [1/2] winex11.drv: Make wglShareLists() cope with previously selected destination context (try 4)

Jim Cameron jim_24601 at btinternet.com
Thu Oct 9 17:36:00 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.

Resending because patch was neither accepted nor rejected. (What is correct etiquette in these circumstances?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-wglShareLists-cope-with-previously-current-de.patch
Type: text/x-diff
Size: 5154 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081009/5631610c/attachment.patch 

More information about the wine-patches mailing list