PDA

View Full Version : vsynch



maximian
11-28-2003, 08:10 AM
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.

nexusone
11-28-2003, 10:22 AM
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:
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.

maximian
11-28-2003, 12:20 PM
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.

PanzerSchreck
11-28-2003, 12:27 PM
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.