How do I disable vsynch of in the application.
My monitor is set to 60HZ. When I run my app I get ~60fps. If I set to 70HZ, 70fps.
But other applications do not seem to have this problem and run at fps higher than monitor refresh rate. Is there a way to unsynch. Platform specific is okay, I am using Windows+MFC.
Under windows right click on the screen and select properties, under settings select advance.
I know ATI has the option there, can not say about other video cards and their options.
Originally posted by maximian:
[b]How do I disable vsynch of in the application.
My monitor is set to 60HZ. When I run my app I get ~60fps. If I set to 70HZ, 70fps.
But other applications do not seem to have this problem and run at fps higher than monitor refresh rate. Is there a way to unsynch. Platform specific is okay, I am using Windows+MFC.[/b]
Thank you. I understand that, but I need
to be able to set this in the program.
How are the other applications able to exceed
the 60hz limit, when I have not made the change you recommended.
Take a look at wglSwapInterval : http://www.3dlabs.com/support/developer/WGLmanpages/wglswapintervalext.htm
You can use it to easily disable vsync in your app.