Re: FPSAnimator Vs. Animator

Posted by gouessej on
URL: https://forum.jogamp.org/FPSAnimator-Vs-Animator-tp4025734p4025735.html

Hi

Some people complained that FPSAnimator does not behave exactly the same under Windows and Linux. Why not using the vertical synchronisation? It's very simple, just use setSwapInterval(). The only drawback is that the end user can still prevent this setting from being respected. In my humble opinion, a game should not explicitly rely on a constant frame rate, it is a wrong way of handling the timing, really.
Julien Gouesse | Personal blog | Website