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?
I want to turn of the wait for vertical retrace so i
can see the "real" frame-rate of my program.
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.