PDA

View Full Version : Vsync and glutSwapBuffers() and glSwapBuffers



hades
10-17-2000, 03:35 PM
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!

--Nate

zed
10-18-2000, 09:46 PM
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

hades
10-21-2000, 05:28 AM
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.

hades
10-21-2000, 05:38 AM
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)