I have a few questions concerning Vsync as a parameter of glSwapBuffers() and glutSwapBuffers(): (1) Is Vsync a parameter of either of these functions, and if so, is it of a boolean value and (2) if not, how could one synchronize buffer swapping (in double buffer mode) with the vertical refresh of the screen? Thanks for your time and effort!
it aint in either
if youre using windows and your card supports it u can use the winswapinterval extension to swap the buffer with the vsync refresh , sorry donno about other os’s
I tried to find information on winswapinterval using several opengl sites, search engines, and microsoft developer network documentation, but I cannot seem to find the command or any parameters.
After searching for similar commands containing swap interval, I found a site that outlines this command and its relative. (the command is wgl_swap_control)