On Fri, Jun 24, 2011 at 9:31 AM, Michael Stefaniuc mstefani@redhat.com wrote:
this commit breaks compilation on my old RHEL5 box: dlls/d3dx9_36/tests/mesh.c:4813: error: ‘FP_NAN’ undeclared (first use in this function)
Does the attached patch fix the problem. It uses 0.0f / 0.0f like in wined3d_private.h.
On Fri, Jun 24, 2011 at 9:44 AM, Stefan Dösinger stefandoesinger@gmx.at wrote:
I'd appreciate a portable solution for generating NaN and Inf values as well, I have the same problem with wined3d in visual studio.
I don't see Inf values specified using a macro there, but good for future reference.