http://bugs.winehq.org/show_bug.cgi?id=12829
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37389|0 |1 is obsolete| |
--- Comment #24 from Stefan Dösinger stefan@codeweavers.com 2011-11-10 13:49:48 CST --- Created attachment 37432 --> http://bugs.winehq.org/attachment.cgi?id=37432 Also accept older sizes, write correct amount of bytes only
The last version wasn't quite correct. There are smaller versions of D3DDEVICEDESC, the change as it was broke Need for Speed 3. Viper also passes in a smaller version, and expects us to write only the amount of bytes it specifies in the dwSize member, not the full DirectX 6 version of the structure.