d3d9: fix device crashing on Vista.

Paul Vriens paul.vriens.wine at gmail.com
Thu Jul 31 02:45:10 CDT 2008


H. Verbeet wrote:
> 2008/7/30 Reece Dunn <msclrhd at googlemail.com>:
>> SetMaterial crashes when passed a NULL argument.
>>
> If you're going to do that, you might as well remove the entire test.
> I think this test has caused trouble before.
> 
> 
> 
There is even a bug report for this:

http://bugs.winehq.org/show_bug.cgi?id=13646

It looks like the SetMaterial with a NULL argument is only permitted (read, 
doesn't crash) on ddraw.

Some patches were sent for this in the past as well but that was before 1.0 and 
were held back because of that.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list