View Full Version : Can I sync my OGL program with vsync ?
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.
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.
what is a high performace counter ?
Make a search on this forum for performance counter.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.