ddraw: Fix Setmaterial with a test

Vitaliy Margolen wine-devel at kievinfo.com
Tue Jun 10 22:09:28 CDT 2008


David Adam wrote:
>>David Adam wrote:
>>>/ The test succeded in my windows XP box.
> />>/ 
> />You have only ddraw test and no d3d test.
>>
>>Vitaliy.
> 
> Giving a NULL value to SetMaterial in d3d9 or d3d8 makes Windows crashes. 
> 
> It is a forbidden value (see bug 13646). So, no test can be performed for d3d8 and d3d9.
> 
> I sent a patch to removed these test earlier.
> 
So why are you adding the check that is not present on windows? What are th 
reasoning to have this if it clearly absent in native implementation?

Vitaliy.



More information about the wine-devel mailing list