diff options
author | Sven Gothel <[email protected]> | 2011-03-05 04:06:13 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-05 04:06:13 +0100 |
commit | b663dd3d22c5d0462e34ec4227630b3470abfdff (patch) | |
tree | 2a774b30aa37d6c1f3e74d06b18f52b951ef709c /src/test/com/jogamp | |
parent | a167589233db343ac22b761d30d9dcd73016fe54 (diff) |
junit Gears: remove AWT GLCanvas from import
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java index 3ba617b75..0e347e5ec 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java @@ -5,7 +5,6 @@ import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLEventListener; import javax.media.opengl.GLProfile; -import javax.media.opengl.awt.GLCanvas; import com.jogamp.opengl.util.Animator; import com.jogamp.newt.Window; @@ -62,8 +61,8 @@ public class Gears implements GLEventListener { }).start(); } }); - - GLCanvas canvas = new GLCanvas(); + + javax.media.opengl.awt.GLCanvas canvas = new javax.media.opengl.awt.GLCanvas(); animator.add(canvas); // GLCapabilities caps = new GLCapabilities(GLProfile.getDefault()); // GLCanvas canvas = new GLCanvas(caps); |