http://bugs.winehq.org/show_bug.cgi?id=9810
--- Comment #3 from Stefan Dösinger stefandoesinger@gmx.at 2007-09-29 09:09:52 --- (In reply to comment #0)
The main offender seems to be the context management; it looks like it abuses ENTER_GL to also lock its own data structures, so it's probably not just a matter of removing the ENTER_GL blocks.
It was originally used for this purpose, but the data structures are protected by the client libs' lock, so the context manager doesn't need ENTER_GL / LEAVE_GL for that purpose any more.