ddraw: Fix SetMaterial (RESEND)

David Adam david.adam.cnrs at gmail.com
Thu Aug 21 11:06:34 CDT 2008

These two following patches fix bug 13646.
Only ddraw checks for a null entry in SetMaterial (see the discussion in
Natively, d3d9 and d3d8 crash in SetMaterial when a null pointer is given.
To match the native behaviour of windows, wine must crash when calling
SetMaterial in d3d8 or d3d9 with a null pointer.
So, one must remove the tests in d3d9 and d3d8
 to avoid to make wine crashed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080821/3cda29a6/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-SetMaterial-in-ddraw-with-a-test.patch
Type: application/octet-stream
Size: 2157 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080821/3cda29a6/attachment.obj 

More information about the wine-patches mailing list