opengl and borland C++ cause floating point exceptions
lionel.ulmer at free.fr
Mon May 20 14:33:18 CDT 2002
On Mon, May 20, 2002 at 01:26:15PM -0400, Ryan C. Stallings wrote:
> 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.
Yeah, I have the same floating point errors here.
> 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?
You mean than in Windows, at each OpenGL call, the FP exceptions are
masked and re-enabled at the end of the function ? That would seem very
unoptimal. Do you have 'proof' of this :-) ?
Lionel Ulmer - http://www.bbrox.org/
More information about the wine-devel