diff options
Diffstat (limited to 'src/newt/classes/com')
-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) { |