summaryrefslogtreecommitdiffstats
path: root/src/demos
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 /src/demos
parent4ff184fd14376241b5a28b3a93f84a849d33f002 (diff)
Show GLContext GL Version
Diffstat (limited to 'src/demos')
-rwxr-xr-xsrc/demos/GLInfo.java2
1 files changed, 2 insertions, 0 deletions
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));