View Full Version : Can I sync my OGL program with vsync ?

02-13-2001, 10:52 AM
I would like to sync my ogl camera movement with the vsync to keep it at the same tempo on different hardware. Or isnt that the way to go anyone with a better solution.


02-13-2001, 11:18 AM
Take a look at glvelocity.gamedev.net in the code section. There's a piece of code that (I think) does what you want.

02-13-2001, 12:21 PM
You'd better use the high performance counter of the PC to get a time reference for your app (make it time dependant) rather than using the refresh rate as reference.

02-14-2001, 02:04 AM
what is a high performace counter ?

02-14-2001, 03:53 AM
Make a search on this forum for performance counter.