opengl and borland C++ cause floating point exceptions
Ryan C. Stallings
winehq.com at beergeek.net
Mon May 20 12:26:15 CDT 2002
Hello all,
I am trying to get the neverwinter nights model viewer running under wine.
When viewing some models I start to get floating point errors. I did a
quick search on google and came up with the following post.
http://groups.google.com/groups?selm=78cak7%2457q%241%40tourist.gnt.net&output=gplain
It seems the borland compiler (the one used in the viewer) does not turn off
floating point exceptions by default while the Microsoft compiler does.
Aparently the opengl library is known to cause floating point exceptions so
when you put the two together bad things happened. It looks like Microsoft
fixed this incompatibility by wrapping a call to turn off floating point
exceptions and then restore the previous mask around each opengl call. Do I
understand the problem correctly? Does this sound like a resonable fix for
wine too?
ryan
More information about the wine-devel
mailing list