summaryrefslogtreecommitdiffstats
path: root/src
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
parentd13ce73e2919d2dd4bd54599b28beaef34302f5b (diff)
Add win32 script, misc stuff ..
Diffstat (limited to 'src')
-rwxr-xr-xsrc/demos/GLInfo.java3
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java2
-rw-r--r--src/demos/gears/Gears.java4
3 files changed, 8 insertions, 1 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java
index 7050ab8..b8575e2 100755
--- a/src/demos/GLInfo.java
+++ b/src/demos/GLInfo.java
@@ -93,6 +93,9 @@ public class GLInfo extends Thread implements GLEventListener {
GL gl = drawable.getGL();
GLProfile glp = gl.getGLProfile();
+ System.err.println(glp+" GL Profile Static: "+GLProfile.glAvailabilityToString());
+ System.err.println(glp+" GL Profile Static - MaxFixedFunc: "+GLProfile.getMaxFixedFunc());
+ System.err.println(glp+" GL Profile Static - MaxProgrammable: "+GLProfile.getMaxProgrammable());
System.err.println(glp+" GLCapabilities POST: "+drawable.getChosenGLCapabilities());
System.err.println(glp+" GL Profile: "+drawable.getGLProfile());
System.err.println(glp+" GL:" + gl);
diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java
index 4b23513..6a1281d 100755
--- a/src/demos/es1/cubefbo/Main.java
+++ b/src/demos/es1/cubefbo/Main.java
@@ -74,7 +74,7 @@ public class Main implements WindowListener, MouseListener {
window.enablePerfLog(true);
window.setSize(width, height);
- window.setFullscreen(true);
+ window.setFullscreen(false);
window.setVisible(true);
GL gl = window.getGL();
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);