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

Chris Robinson chris.kcat at gmail.com
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 : http://www.winehq.org/pipermail/wine-patches/attachments/20060820/f3279eda/wined3d_device2.bin


More information about the wine-patches mailing list