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