ddraw/tests: Fix compilation with Visual C++ 2005.

Stefan Dösinger stefan at codeweavers.com
Sun May 27 09:18:01 CDT 2007


> -    light.dvAttenuation0 = 0.0 / 0.0; /* NaN */
> +    light.dvAttenuation0 = zero / zero; /* NaN */
Are you sure the compiler doesn't optimize that away to 1.0 ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070527/daa08055/attachment.pgp


More information about the wine-devel mailing list