http://bugs.winehq.org/show_bug.cgi?id=28562
--- Comment #3 from Stefan Dösinger stefandoesinger@gmx.at 2011-10-03 11:09:08 CDT --- Created attachment 36691 --> http://bugs.winehq.org/attachment.cgi?id=36691 Change only pixelformat and surface data in SetSurfaceDesc
This is a hack that gets the app working for me. I don't know how it worked in the past, SetSurfaceDesc has been misbehaving since it exists.
This patch changes SetSurfaceDesc according to what msdn says - it only allows setting the pixelformat and lpSurface members. The problem the app encountered was that the pitch was also overwritten by data passed in by the app. This patch obviously needs a few tests to confirm that the change is correct.