summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2013-01-19 02:18:57 +0100
committerSven Gothel <sgothel@jausoft.com>2013-01-19 02:18:57 +0100
commit7c736a0042550aca218b24bde2d1fc5ab845efc8 (patch)
tree63abd974f7f86215957f1456d0137f83725731f9
parent1002133ac28688df17f3e3ed6e44a8bb578cbfb5 (diff)
RawGL2ES2demo: Fix Animator usage; Added missing 'package demos.es2;'
-rw-r--r--maven/jp4da/jp4da-android/.classpath7
-rw-r--r--src/demos/es2/RawGL2ES2demo.java4
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 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="gen"/>
- <classpathentry including="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry including="**/*.java" kind="src" path="src/test/resources"/>
<classpathentry kind="src" output="bin/classes" path="src/main/java">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" output="bin/classes" path="src/test/java">
- <attributes>
- <attribute name="maven.pomderived" value="true"/>
- </attributes>
- </classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
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();
}