From d13ce73e2919d2dd4bd54599b28beaef34302f5b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 16 Apr 2010 05:45:27 +0200 Subject: Show GLContext GL Version --- src/demos/GLInfo.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/demos') 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)); -- cgit v1.2.3