aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-14 08:36:25 +0100
committerSven Gothel <[email protected]>2010-11-14 08:36:25 +0100
commit6ea02e2572c6c97d8bc90dedb7f887640c551b4f (patch)
tree0cff3956db4f2dd764d15fefe2bb31dfe7df5285
parent9951f1edfc76622a3bf87ef5f3f253a5c7cae3d9 (diff)
GlueGen JogampVersion Adaption (getInfo -> toStringBuffer/toString)
-rw-r--r--src/junit/com/jogamp/test/junit/util/DumpVersion.java2
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/NewtVersion.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/opengl/GLWindow.java10
4 files changed, 8 insertions, 8 deletions
diff --git a/src/junit/com/jogamp/test/junit/util/DumpVersion.java b/src/junit/com/jogamp/test/junit/util/DumpVersion.java
index beefa4aaf..25b1fe86a 100644
--- a/src/junit/com/jogamp/test/junit/util/DumpVersion.java
+++ b/src/junit/com/jogamp/test/junit/util/DumpVersion.java
@@ -38,7 +38,7 @@ public class DumpVersion implements GLEventListener {
public void init(GLAutoDrawable drawable) {
GL gl = drawable.getGL();
- System.err.println(JoglVersion.getInstance().getInfo(gl, null));
+ System.err.println(JoglVersion.getInstance().toString(gl));
}
public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java
index a3dee0d07..55757fc42 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowVersion.java
@@ -55,6 +55,6 @@ public class NativeWindowVersion extends JogampVersion {
}
public static void main(String args[]) {
- System.err.println(NativeWindowVersion.getInstance().getInfo(null));
+ System.err.println(NativeWindowVersion.getInstance());
}
}
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) {