summaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-22 17:02:32 +0100
committerSven Gothel <[email protected]>2023-03-22 17:02:32 +0100
commit95ea4470e7a9dd79dd502db800333e350f311d3d (patch)
tree0328ec1b3f1099a4fa8dcb2e42ddcece7d93f992 /src/demos/com/jogamp
parent089025825be32ba733313b8c2390223f14edb017 (diff)
UISceneDemo0[01]: Useless minor editing (can't move animator lower as sadly used in our window dtor event handler)
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java1
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java2
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();