mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user