diff options
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 |