From 4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 23 Sep 2010 18:58:03 +0200 Subject: Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0 --- src/demos/cubefbo/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demos/cubefbo/Main.java') 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 -- cgit v1.2.3