diff options
author | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
commit | 4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 (patch) | |
tree | dd097af09126ce7d7e7b3bf3ff0cd3132cbd80b9 /src/demos/cubefbo | |
parent | 35da0bfcb126c8b296a64274dcf5b757daa723d3 (diff) |
Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0
Diffstat (limited to 'src/demos/cubefbo')
-rwxr-xr-x | src/demos/cubefbo/Main.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/cubefbo/Main.java b/src/demos/cubefbo/Main.java index 054aea4..fc87840 100755 --- a/src/demos/cubefbo/Main.java +++ b/src/demos/cubefbo/Main.java @@ -39,8 +39,8 @@ import java.awt.event.WindowEvent; import javax.media.opengl.GLProfile; import javax.media.opengl.GLCapabilities; import javax.media.opengl.awt.GLCanvas; -import com.jogamp.opengl.util.Animator; import com.jogamp.opengl.util.FPSAnimator; +import javax.media.opengl.GLAnimatorControl; public class Main { @@ -63,7 +63,7 @@ public class Main { frame.add(canvas); frame.setSize(800, 480); - final Animator animator = new FPSAnimator(canvas, 60); + final GLAnimatorControl animator = new FPSAnimator(canvas, 60); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { // Run this on another thread than the AWT event queue to |