You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a primitive application (.NET Framework 4.6.1) by simply placing the GLWpfControl component in the WPF window. BugDemo.zip
In the project settings, I specified that the application is 32-bit.
The screenshot below shows the result of calculating the sum of two variables before initializing the GLWpfControl and after initializing it. It can be seen that after initialization, there are problems in calculating the sum.
If I specify in the project settings that the application is 64-bit, then the amount is calculated correctly.
I use OpenTK 3.3.1, OpenTK.GLWpfContol 3.3.0
The text was updated successfully, but these errors were encountered:
It's possible this is because we don't specify FPU_PERSERVE when we create the DirectX 9 context which can affect rounding modes for the FPU in 32-bit processes. Would be weird if it effected the sum this much though.
I created a primitive application (.NET Framework 4.6.1) by simply placing the GLWpfControl component in the WPF window.
BugDemo.zip
In the project settings, I specified that the application is 32-bit.
The screenshot below shows the result of calculating the sum of two variables before initializing the GLWpfControl and after initializing it. It can be seen that after initialization, there are problems in calculating the sum.
If I specify in the project settings that the application is 64-bit, then the amount is calculated correctly.
I use OpenTK 3.3.1, OpenTK.GLWpfContol 3.3.0
The text was updated successfully, but these errors were encountered: