dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
755 stars 299 forks source link

FPS limit not respected #112

Open rcurtis opened 9 years ago

rcurtis commented 9 years ago

The frame rate seems to be in complete run-away mode.

I have my own frame counter running and it verifies that the frames displayed are accurate. This is on VS2013 targeting .NET 4.0. The same frame rates can be observed on almost all samples, both winforms and WPF.

davidedec commented 8 years ago

Hi rcurtis, I'm doing some tests on the library and checking the sources. For what I can understand the frame rate is respected. What you see on the display is obtained from the time that one single frame take to be drawn, not the frequency of the frame. It means that your hardware can render it potentially at 383 fps.

Davide