diff options
author | Sven Gothel <[email protected]> | 2010-11-12 03:33:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-12 03:33:53 +0100 |
commit | dac35658fb0b04e66f2e6cbce175090dcc48bde4 (patch) | |
tree | 67132669da41a0fd5a2ea9f6107246529794190d /src/junit/com | |
parent | c2e805f5cf9c209cfbd1a3082a347d9f3d58c9d5 (diff) |
Adapt to GlueGen Version changes; Adding NativeWindowVersion, JoglVersion and NewtVersion.
Adapt to GlueGen Version changes:
b735755815312b5fe2c003642de60711be1cd645 .. 556c7e70d3d57aa99b5787b1e4d8a7b1c299ed3f
Show information of all subcomponenet.
Diffstat (limited to 'src/junit/com')
-rw-r--r-- | src/junit/com/jogamp/test/junit/util/DumpVersion.java | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/junit/com/jogamp/test/junit/util/DumpVersion.java b/src/junit/com/jogamp/test/junit/util/DumpVersion.java index df07c5bcf..beefa4aaf 100644 --- a/src/junit/com/jogamp/test/junit/util/DumpVersion.java +++ b/src/junit/com/jogamp/test/junit/util/DumpVersion.java @@ -28,26 +28,17 @@ package com.jogamp.test.junit.util; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.AfterClass; -import org.junit.Test; import javax.media.opengl.*; -import com.jogamp.opengl.util.VersionInfo; -import com.jogamp.common.os.Platform; +import com.jogamp.opengl.JoglVersion; -import java.io.IOException; public class DumpVersion implements GLEventListener { public void init(GLAutoDrawable drawable) { GL gl = drawable.getGL(); - String prefix = Thread.currentThread().getName(); - - System.err.println(VersionInfo.getInfo(null, prefix, gl).toString()); + System.err.println(JoglVersion.getInstance().getInfo(gl, null)); } public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) { |