View Full Version : How to use vsync???

05-14-2008, 06:01 AM
I want to use Vsync with my opebGL
application. Can anyody help me out?

05-14-2008, 06:48 AM
Depends on the OS.
Under Windows, first look if your graphics driver's control panel offers an option to enable/disable vsync for OpenGL programs and make sure it's not set to Force Off or the like.
Then read the WGL extension
and set the swap interval to 1 inside your application to enable vsync.

05-14-2008, 06:48 AM
No! Joking :)

Use this extension with interval set to 0 if u want to disable vsynch, wglSwapIntervalEXT(interval).

Hope this help.

05-14-2008, 06:50 AM
Or simply search the internet for a tutorial which already did this. There should be plenty! :D