http://bugs.winehq.org/show_bug.cgi?id=8754
--- Comment #47 from Henri Verbeet hverbeet@gmail.com 2010-05-23 07:35:41 --- (In reply to comment #46)
That patch looks like a hack to me. What it means is that something inside context_set_draw_buffer is not properly protected with critical section.
It is, but doesn't have much to do with critical sections. The NFS games screw around with the FPU control word, unmasking some exceptions. That patch masks them again in a convenient place, but it's unlikely to be the correct place. (And this really doesn't have a whole lot to do with this bug.)