http://bugs.winehq.org/show_bug.cgi?id=29162
marzojr@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37815|0 |1 is obsolete| |
--- Comment #12 from marzojr@yahoo.com 2011-12-06 07:49:15 CST --- Created attachment 37822 --> http://bugs.winehq.org/attachment.cgi?id=37822 ddraw: SetSurfaceDesc can set width, height and pitch under certain conditions, plus set_surface_desc_test ports to IDirectDrawSurface4 and IDirectDrawSurface7
I made the ports again, using the new tests you added. I also modified the text for test failure to be more consistent and always include the interface in question; I combined your patch in mine due to this.
I looked at the docs, and it seems that using DirectDrawCreateEx would fail with DDERR_DIRECTDRAWALREADYCREATED in this case -- there already is a DirectDraw created. So I left it out.