https://bugs.winehq.org/show_bug.cgi?id=11436
--- Comment #25 from Yanis Lukes Pendrokar@gmail.com --- Created attachment 49402 --> https://bugs.winehq.org/attachment.cgi?id=49402 Same as "Endless Space/Unity Wine patch", but with registry key activation
So I have created a patch that is the same as the previous "Endless Space/Unity Wine patch", but is activated with a boolean registry key, "UseWGLShareListsHack" under "X11 Drivers" like in UsefulRegistryKeys. Use the following command to add the key(default WINEPREFIX if unspecified):
./wine reg add "HKCU\Software\Wine\X11 Driver" /v UseWGLShareListsHack /t REG_SZ /d Y
This patch should have no effect on default Wine behavior. This is a temporary solution for some applications regarding this issue, so that this patch should not be applied to every new version of Wine.
@Matteo Bruni,
Actually there is one significant change between the patches, after the script determines that "'dest' context is current.\n", your patch does "return false". For Unity3D it makes the patch to not work, so my posted patch has it commented out.