On 22 November 2011 00:42, Eduard - Gabriel Munteanu eduard.munteanu@linux360.ro wrote:
This fixes a division by zero generated in Unigine Tropics in D3D10 mode. It also adds a helper to handle such conversions, which takes the form of a macro so we don't need to worry about the result's type.
I'd prefer an actual function. A small test for this probably wouldn't hurt either.