Hello Guest

Display.sync()

  • 1 Replies
  • 6396 Views
*

Offline Uli

  • *
  • 32
Display.sync()
« 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?

*

Offline Matzon

  • *****
  • 2242
Re: Display.sync()
« Reply #1 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.