Programming => LWJGL Documentation => Topic started by: Uli on August 15, 2007, 06:59:25

Title: Display.sync()
Post by: Uli on August 15, 2007, 06:59:25
I'm wondering about the reliablility of the Display.sync() method. Javadoc says "Best sync method that works reliably". Does that mean it works reliable on all systems (Windows, MacOS, Linux)? Or should I implement some fallback-code for timer-based movement/animation?
Title: Re: Display.sync()
Post by: Matzon on August 15, 2007, 18:12:30
it should be fine for all of the platforms.
There are 3 versions, cunningly named sync1, sync2 and sync3

They all do the same thing - they just have slight differences in their behaviour when certain conditions are met. Please check the Javadoc.