PDA

View Full Version : disable vsync



01-28-2004, 08:04 PM
Is there a way to disable vsync in OpenGL ?

ZbuffeR
01-28-2004, 10:58 PM
wglSwapIntervalEXT(0);

Beware though, this is an WGL extension. The vsync mechanism is dependent on the windowing system.

marcus256
01-29-2004, 04:31 AM
If you're using GLFW, use glfwSwapInterval(0);

Works under Windows and X11 (recent nVidia Linux drivers support VSync selection, finally).