diff options
author | Sven Gothel <[email protected]> | 2010-11-14 08:36:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-14 08:36:25 +0100 |
commit | 6ea02e2572c6c97d8bc90dedb7f887640c551b4f (patch) | |
tree | 0cff3956db4f2dd764d15fefe2bb31dfe7df5285 /src/newt | |
parent | 9951f1edfc76622a3bf87ef5f3f253a5c7cae3d9 (diff) |
GlueGen JogampVersion Adaption (getInfo -> toStringBuffer/toString)
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/NewtVersion.java | 2 | ||||
-rw-r--r-- | src/newt/classes/com/jogamp/newt/opengl/GLWindow.java | 10 |
2 files changed, 6 insertions, 6 deletions
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) { |