http://bugs.winehq.org/show_bug.cgi?id=18040
--- Comment #44 from Don Hess dhess31@comcast.net 2009-04-20 18:29:45 --- (In reply to comment #43)
(In reply to comment #42)
Created an attachment (id=20570)
--> (http://bugs.winehq.org/attachment.cgi?id=20570) [details] [details]
Threading fix for buffer maps
Hi Don, Here's another patch to try. I realized that EQ2 calls the crashing buffer_map() call from a different thread, and the new GL calls do not have an ActivateContext call to deal with multithreading, and they did not have the ENTER_GL() locking calls. This patch fixes that.
Please apply it on top of the two patches that fixed Mass Effect, but without the "another test patch" debug patch.
This patch seemed to fix all the problems. I was able to get into the part of the game that was crashing before!
So, the combination of the three patches fixed it. Not including "another test patch".
By the way. Remember how i talked about WOW crashing? With these patches WOW will crash if OffScreenRenderingMode is FBO, which used to work. If it is set to pbuffer then it works fine.
However, EQ2 only displays it's shaders under FBO. So I don't know if that tells you anything or not.
At least everything seems to be working now.