wined3d: don't pass bad values to glAlphaFunc and glDepthFunc

Chris Robinson chris.kcat at
Sun Aug 20 18:26:39 CDT 2006

This prevents glAlphaFunc and glDepthFunc from being called (and printing an 
inevitable error) when an invalid comparison function is set. D3DRS_ZFUNC 
also no longer reverts to D3DCMP_LESS when given an invalid setting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d_device2.diff
Type: text/x-diff
Size: 1723 bytes
Desc: not available
Url :

More information about the wine-patches mailing list