Jump to content
  • Advertisement

Archived

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

Dtag

Disable VSync for OpenGL?

This topic is 5633 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!