[2/2] opengl32/tests: Test for wglShareLists() patch (try 4)

Jim Cameron jim_24601 at btinternet.com
Tue Sep 30 16:50:38 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...
Name: 0002-Test-for-wglShareLists-patch.patch
Type: text/x-diff
Size: 1741 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080930/ce6c54da/attachment.patch 


More information about the wine-patches mailing list