tesselation different between linux and windows
I am drawing a closed polygon with 46 vertices. The code works in both linux and windows. The initialization part is different where needed. The actual drawing code is the same. On linux, it seems to work fine, but on windows I get a different result. Here is a picture of the two results:
The top image is windows and is wrong. The bottom one is from linux code and is what it should look like. On windows I'm using an nvidia driver. On linux I'm not using a hardware-accelerated driver.
Can someone explain what might be causing this difference?
Re: tesselation different between linux and windows
Nevermind. I found it. In the GLU_TESS_VERTEX function I had a comparison of a double to 0.0. It acted different in windows, so
I made a small change and it works.