by Spike » Wed Aug 19, 2009 12:27 am
Docs:
win: [ur]http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt[/url]
I'm not sure about glx... this one seems to be similar
glx:
however, 0 is an error, and will not disable vsync again.
But yeah, use wglGetProcAddress to get the function name you want, then pass it a 0 to disable vsync, or 1 to enable vsync, or 2 to sync each frame with every 2nd refresh.
If nothing else, this should give you a bit of a clue what to search for.
.