http://bugs.winehq.org/show_bug.cgi?id=31550
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2012-08-26 08:58:34 CDT --- (In reply to comment #6)
I think though that it should work with both ;).
Sure. It's just that gdi DirectDrawRenderer has several known issues, and won't work at all for ddraw applications that do 3D rendering. The long term plan is for it to go away once the remaining issues with the OpenGL renderer are fixed.
I actually slightly misread the original backtrace, and thought it was crashing on line 5170. The patch you attached should be fine. Could you send it to wine-patches?