PDA

View Full Version : Vertical Synchronizing



Kasjan
22-11-2005, 03:45 PM
How can I switch off Vertical Synchronizing for OpenGL?

JSoftware
22-11-2005, 04:27 PM
you can use the extension WGL_EXT_swap_control

this extension can be loaded if you get a copy of glext.pas somewhere. when the extension is loaded you just call

wglSwapIntervalEXT(interval);

if interval is 0 then vsyncing is disabled. if it's > 0 then framerate is bound to that interval

i have no idea how to do it on a linux box though