diff options
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java | 1 | ||||
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java index c6cab3e2e..e096a1c00 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java @@ -86,7 +86,6 @@ public class UISceneDemo00 { scene.addShape(shape); final Animator animator = new Animator(); - animator.setUpdateFPSFrames(1*60, System.err); final GLCapabilities caps = new GLCapabilities(glp); caps.setAlphaBits(4); diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java index 127fbbe72..8eff0d9f3 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java @@ -93,7 +93,6 @@ public class UISceneDemo01 { scene.addShape(shape); final Animator animator = new Animator(); - animator.setUpdateFPSFrames(1*60, null); // System.err); final GLCapabilities caps = new GLCapabilities(glp); caps.setAlphaBits(4); @@ -117,6 +116,7 @@ public class UISceneDemo01 { scene.attachInputListenerTo(window); + animator.setUpdateFPSFrames(1*60, null); // System.err); animator.add(window); animator.start(); |