Disable VSync for OpenGL?
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.
Desktop -> rightclick -> properties -> settings -> advanced -> geforce tab -> OpenGL settings
I don''t know you can disable it in code though.
Yeah, I think it''s a user feature. I don''t think you can disable it in code for you app.
I don''t have a signature
I don''t have a signature
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]
I believe that is how you do it.
[edited by - Digitalfiend on January 19, 2003 12:00:33 PM]
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
http://www.nvidia.com/dev_content/nvopenglspecs/WGL_EXT_swap_control.txt
I almost forgot: lookup wglGetProcAddress(), you''ll need to use that to grab the two other functions.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement