LWJGL
May 21, 2012, 01:18:17 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Display.sync()  (Read 4030 times)
Uli
Newbie
*
Posts: 32


« on: August 14, 2007, 23: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?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: August 15, 2007, 11: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.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!