diff options
author | Sven Gothel <[email protected]> | 2013-01-19 02:18:57 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-01-19 02:18:57 +0100 |
commit | 7c736a0042550aca218b24bde2d1fc5ab845efc8 (patch) | |
tree | 63abd974f7f86215957f1456d0137f83725731f9 /src/demos/es2/RawGL2ES2demo.java | |
parent | 1002133ac28688df17f3e3ed6e44a8bb578cbfb5 (diff) |
RawGL2ES2demo: Fix Animator usage; Added missing 'package demos.es2;'
Diffstat (limited to 'src/demos/es2/RawGL2ES2demo.java')
-rw-r--r-- | src/demos/es2/RawGL2ES2demo.java | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |