summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-16 05:45:27 +0200
committerSven Gothel <[email protected]>2010-04-16 05:45:27 +0200
commitd13ce73e2919d2dd4bd54599b28beaef34302f5b (patch)
tree27dd14a77043067a11255cfc0f0c4c465f707c9f
parent4ff184fd14376241b5a28b3a93f84a849d33f002 (diff)
Show GLContext GL Version
-rw-r--r--java-dbg.sh4
-rw-r--r--java-win32.bat4
-rwxr-xr-xsrc/demos/GLInfo.java2
3 files changed, 6 insertions, 4 deletions
diff --git a/java-dbg.sh b/java-dbg.sh
index 455b8b6..d7d7162 100644
--- a/java-dbg.sh
+++ b/java-dbg.sh
@@ -11,8 +11,8 @@ fi
if [ $CPOK -eq 0 ] ; then
echo No JOGL in CLASSPATH
else
- # java -Dgluegen.debug.ProcAddressHelper=true -Dgluegen.debug.NativeLibrary=true -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log
- java -Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log
+ java -Dgluegen.debug.ProcAddressHelper=true -Dgluegen.debug.NativeLibrary=true -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log
+ # java -Dnewt.debug=all -Dnativewindow.debug=all -Djogl.debug=all $* 2>&1 | tee java-dbg.log
# java -Djogl.debug=all $* 2>&1 | tee java-dbg.log
fi
diff --git a/java-win32.bat b/java-win32.bat
index b53a980..14de9fd 100644
--- a/java-win32.bat
+++ b/java-win32.bat
@@ -1,6 +1,6 @@
-set J2RE_HOME=c:\jre6
-set JAVA_HOME=c:\jdk6
+set J2RE_HOME=c:\jre1.6.0_19
+set JAVA_HOME=c:\jdk1.6.0_19
set JAR_DIR=jogl\lib
set LIB_DIR=jogl\lib
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java
index c873a54..7050ab8 100755
--- a/src/demos/GLInfo.java
+++ b/src/demos/GLInfo.java
@@ -97,6 +97,8 @@ public class GLInfo extends Thread implements GLEventListener {
System.err.println(glp+" GL Profile: "+drawable.getGLProfile());
System.err.println(glp+" GL:" + gl);
System.err.println(glp+"");
+ System.err.println(glp+" Context GL Version: "+gl.getContext().getGLVersion());
+ System.err.println(glp+"");
System.err.println(glp+" GL_VERSION: " + gl.glGetString(GL.GL_VERSION));
System.err.println(glp+" GL_EXTENSIONS: ");
System.err.println(glp+" " + gl.glGetString(GL.GL_EXTENSIONS));