From dac35658fb0b04e66f2e6cbce175090dcc48bde4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 12 Nov 2010 03:33:53 +0100 Subject: Adapt to GlueGen Version changes; Adding NativeWindowVersion, JoglVersion and NewtVersion. Adapt to GlueGen Version changes: b735755815312b5fe2c003642de60711be1cd645 .. 556c7e70d3d57aa99b5787b1e4d8a7b1c299ed3f Show information of all subcomponenet. --- src/junit/com/jogamp/test/junit/util/DumpVersion.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/junit/com/jogamp') 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) { -- cgit v1.2.3