From 6ea02e2572c6c97d8bc90dedb7f887640c551b4f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 14 Nov 2010 08:36:25 +0100 Subject: GlueGen JogampVersion Adaption (getInfo -> toStringBuffer/toString) --- src/newt/classes/com/jogamp/newt/NewtVersion.java | 2 +- src/newt/classes/com/jogamp/newt/opengl/GLWindow.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/newt/classes/com') diff --git a/src/newt/classes/com/jogamp/newt/NewtVersion.java b/src/newt/classes/com/jogamp/newt/NewtVersion.java index ad173605c..2493787d7 100644 --- a/src/newt/classes/com/jogamp/newt/NewtVersion.java +++ b/src/newt/classes/com/jogamp/newt/NewtVersion.java @@ -55,6 +55,6 @@ public class NewtVersion extends JogampVersion { } public static void main(String args[]) { - System.err.println(NewtVersion.getInstance().getInfo(null)); + 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 714fe20f2..2f5841b7e 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -849,10 +849,10 @@ public class GLWindow implements GLAutoDrawable, Window { * A most simple JOGL AWT test entry */ public static void main(String args[]) { - System.err.println(GlueGenVersion.getInstance().getInfo(null)); - System.err.println(NativeWindowVersion.getInstance().getInfo(null)); - System.err.print(JoglVersion.getInstance().getInfo(null)); - System.err.println(NewtVersion.getInstance().getInfo(null)); + System.err.println(GlueGenVersion.getInstance()); + System.err.println(NativeWindowVersion.getInstance()); + System.err.print(JoglVersion.getInstance()); + System.err.println(NewtVersion.getInstance()); GLCapabilities caps = new GLCapabilities( GLProfile.getDefault() ); GLWindow glWindow = GLWindow.create(caps); @@ -861,7 +861,7 @@ public class GLWindow implements GLAutoDrawable, Window { glWindow.addGLEventListener(new GLEventListener() { public void init(GLAutoDrawable drawable) { GL gl = drawable.getGL(); - System.err.println(JoglVersion.getInstance().getGLInfo(gl, null)); + System.err.println(JoglVersion.getInstance().toString(gl)); } public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) { -- cgit v1.2.3