How to turn of "wait for vertical retrace" (opengl)

Started by
3 comments, last by jocke 22 years, 6 months ago
How do i disable the wait for vertical retrace in OpenGL? I have a Voodoo2 card and the opengl driver i have is not a "true" opengl driver so there is no settings in the display properties dialog that allow me to turn it off. So i was wondering if there is some opengl command i can use to turn it off. Anyone have a solution to this? PS: I want to turn of the wait for vertical retrace so i can see the "real" frame-rate of my program.
Advertisement
Look into the wglSwapIntervalEXT extension
-----------------------"When I have a problem on an Nvidia, I assume that it is my fault. With anyone else's drivers, I assume it is their fault" - John Carmack
I can''t find that function anywere. In what file
is supposed to be in?
It''s not a function that is in OpenGL 1.1, it''s an extension, as Maximus said. I suggest you check out:
http://www.opengl.org/developers/faqs/technical/extensions.htm to read more about extensions. You can also download the wglext.h file from that page, which makes using WGL extensions easier, as well as header files that do that for the other extensions.
Dirk =[Scarab]= Gerrits
Thanks for the help

This topic is closed to new replies.

Advertisement