diff options
author | Sven Gothel <[email protected]> | 2010-11-25 18:53:48 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-25 18:53:48 +0100 |
commit | 2aa90676e4954269f86ec23b39e638b12e178e92 (patch) | |
tree | b65426b867b68fae2e7a5675b6b6ab674b38107f /src/newt | |
parent | d1d10e7eeb2a46acf16ae125395e95189e011f1f (diff) |
Refined VersionInfo usage
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/NewtVersion.java | 4 | ||||
-rw-r--r-- | src/newt/classes/com/jogamp/newt/opengl/GLWindow.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/newt/classes/com/jogamp/newt/NewtVersion.java b/src/newt/classes/com/jogamp/newt/NewtVersion.java index aee67c4bc..a38dca34c 100644 --- a/src/newt/classes/com/jogamp/newt/NewtVersion.java +++ b/src/newt/classes/com/jogamp/newt/NewtVersion.java @@ -28,8 +28,10 @@ package com.jogamp.newt; +import com.jogamp.common.GlueGenVersion; import com.jogamp.common.util.JogampVersion; import com.jogamp.common.util.VersionUtil; +import com.jogamp.nativewindow.NativeWindowVersion; import java.util.jar.Manifest; public class NewtVersion extends JogampVersion { @@ -55,6 +57,8 @@ public class NewtVersion extends JogampVersion { public static void main(String args[]) { System.err.println(VersionUtil.getPlatformInfo()); + System.err.println(GlueGenVersion.getInstance()); + System.err.println(NativeWindowVersion.getInstance()); System.err.println(NewtVersion.getInstance()); } } diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java index 0f96facbd..5531bf168 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -867,7 +867,7 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer { System.err.println(VersionUtil.getPlatformInfo()); System.err.println(GlueGenVersion.getInstance()); System.err.println(NativeWindowVersion.getInstance()); - System.err.print(JoglVersion.getInstance()); + System.err.println(JoglVersion.getInstance()); System.err.println(NewtVersion.getInstance()); GLCapabilitiesImmutable caps = new GLCapabilities( GLProfile.getDefault() ); @@ -877,7 +877,7 @@ public class GLWindow implements GLAutoDrawable, Window, NEWTEventConsumer { glWindow.addGLEventListener(new GLEventListener() { public void init(GLAutoDrawable drawable) { GL gl = drawable.getGL(); - System.err.println(JoglVersion.getInstance().toString(gl)); + System.err.println(JoglVersion.getInstance().getGLInfo(gl, null)); } public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) { |