Turn off fixed rate scheduling in OpenGL

After some testing, it appears that fixed rate scheduling tries to catch
up later when it runs slower than desired, creating weird speedups when
the load decreases. Turning it back off.
This commit is contained in:
Jakub Valtar
2015-10-15 23:29:21 +02:00
parent cbed7139c2
commit 829eb8cac4
+1 -1
View File
@@ -407,7 +407,7 @@ public class PSurfaceJOGL implements PSurface {
protected void initAnimator() {
animator = new FPSAnimator(window, 60, true);
animator = new FPSAnimator(window, 60);
drawException = null;
animator.setUncaughtExceptionHandler(new GLAnimatorControl.UncaughtExceptionHandler() {
@Override