Archived

This topic is now archived and is closed to further replies.

Dtag

Disable VSync for OpenGL?

Recommended Posts

I have the Detonator 41.something (I think) drivers for my GF2 and in the advanced video settings I can turn it on and off for opengl.

Desktop -> rightclick -> properties -> settings -> advanced -> geforce tab -> OpenGL settings

I don''t know you can disable it in code though.

Share this post


Link to post
Share on other sites
Of course you can disable VSYNC in code. I believe you have to query the OpenGL driver for GL_EXTENSIONS and then look to see if it supports WGL_EXT_swap_control. If it does you load the wglSwapIntervalEXT and wglGetSwapIntervalEXT extension functions.

I believe that is how you do it.

[edited by - Digitalfiend on January 19, 2003 12:00:33 PM]

Share this post


Link to post
Share on other sites
Just did a search and nVidia states that you won''t find the functions listed in the GL_EXTENSIONS string. You can still query the ICD for wglSwapIntervalEXT and wglGetSwapIntervalEXT:

http://www.nvidia.com/dev_content/nvopenglspecs/WGL_EXT_swap_control.txt

Share this post


Link to post
Share on other sites