http://bugs.winehq.org/show_bug.cgi?id=17005
--- Comment #4 from John Haywards normandy@web.de 2009-01-21 07:59:25 --- Okay, I'll try to make it more clear, but my english isn't best:
1) This is the original Code: http://pastebin.com/f44ec69a1
It tries to set all black (white) pixels to alpha=1 and do this for its mipmaps too. It crashes at (1), but uncommenting this line (and "UnLock") enables the program to start. Without building the mipmaps, you see this: http://img3.imagebanana.com/img/a1gir2oo/ScreenshotDefaultWinedesktop.png
2) Now I changed the goto-call. It quits when "GetAttachedSurface" reports an error, previously it tried one more time. New Code: http://pastebin.com/f5158504d New problem: program freezes after some time (16479): Rendering's just fine, but sometimes the program just crashes shortly after loading...
I'm not quite sure the first one was correct DirectX, I did not find suitable info about it.