summaryrefslogtreecommitdiffstats
path: root/src/demos/gears/Gears.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-21 14:36:28 +0200
committerSven Gothel <[email protected]>2010-04-21 14:36:28 +0200
commit7e339aa444a47dfef997f06fc5e75d010d194e3a (patch)
tree34c3de3e47a502032b84583d3970e1cb453a1361 /src/demos/gears/Gears.java
parentd13ce73e2919d2dd4bd54599b28beaef34302f5b (diff)
Add win32 script, misc stuff ..
Diffstat (limited to 'src/demos/gears/Gears.java')
-rw-r--r--src/demos/gears/Gears.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java
index 227ce87..853444d 100644
--- a/src/demos/gears/Gears.java
+++ b/src/demos/gears/Gears.java
@@ -7,6 +7,8 @@ import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
+import javax.media.opengl.GLProfile;
+import javax.media.opengl.GLCapabilities;
import javax.media.opengl.GL;
import javax.media.opengl.GL2ES1;
import javax.media.opengl.GL2;
@@ -28,6 +30,8 @@ public class Gears implements GLEventListener, MouseListener, MouseMotionListene
public static void main(String[] args) {
Frame frame = new Frame("Gear Demo");
GLCanvas canvas = new GLCanvas();
+ // GLCapabilities caps = new GLCapabilities(GLProfile.getDefault());
+ // GLCanvas canvas = new GLCanvas(caps);
final Gears gears = new Gears();
canvas.addGLEventListener(gears);