From 7c736a0042550aca218b24bde2d1fc5ab845efc8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 19 Jan 2013 02:18:57 +0100 Subject: RawGL2ES2demo: Fix Animator usage; Added missing 'package demos.es2;' --- maven/jp4da/jp4da-android/.classpath | 7 ------- src/demos/es2/RawGL2ES2demo.java | 4 +++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/maven/jp4da/jp4da-android/.classpath b/maven/jp4da/jp4da-android/.classpath index 9d5b680..ea1eb77 100644 --- a/maven/jp4da/jp4da-android/.classpath +++ b/maven/jp4da/jp4da-android/.classpath @@ -3,18 +3,11 @@ - - - - - - - diff --git a/src/demos/es2/RawGL2ES2demo.java b/src/demos/es2/RawGL2ES2demo.java index 4423c33..c16423a 100644 --- a/src/demos/es2/RawGL2ES2demo.java +++ b/src/demos/es2/RawGL2ES2demo.java @@ -26,6 +26,8 @@ * or implied, of JogAmp Community. */ +package demos.es2; + import javax.media.opengl.GL; import javax.media.opengl.GL2ES2; import javax.media.opengl.GLAutoDrawable; @@ -282,7 +284,7 @@ static final String fragmentShader = // GLWindow will call the GLEventListener init, reshape, display and dispose // functions when needed. glWindow.addGLEventListener(new RawGL2ES2demo() /* GLEventListener */); - Animator animator = new Animator(glWindow); + Animator animator = new Animator(); animator.add(glWindow); animator.start(); } -- cgit v1.2.3