diff options
author | Sven Gothel <[email protected]> | 2020-02-21 19:23:52 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-02-21 19:23:52 +0100 |
commit | ff780fc11602fb79a7ce1dcf879fdaeb865b9fa8 (patch) | |
tree | 564828be0d590538cdd3434505f14aa88233f0aa /src/test-native/bug1398/RedSquareES2.java | |
parent | f4f92cdc0eb89c62070a865601527097e6d5cc72 (diff) |
Bug 1398: Refine test case: Make classpath and libpath runtime configurable + show JOGL version
Diffstat (limited to 'src/test-native/bug1398/RedSquareES2.java')
-rw-r--r-- | src/test-native/bug1398/RedSquareES2.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test-native/bug1398/RedSquareES2.java b/src/test-native/bug1398/RedSquareES2.java index 86de51701..d65de45b2 100644 --- a/src/test-native/bug1398/RedSquareES2.java +++ b/src/test-native/bug1398/RedSquareES2.java @@ -27,6 +27,7 @@ */ // package com.jogamp.opengl.demos.es2; +import com.jogamp.common.util.VersionUtil; import com.jogamp.opengl.JoglVersion; import com.jogamp.opengl.util.GLArrayDataServer; import com.jogamp.opengl.util.PMVMatrix; @@ -93,12 +94,13 @@ public class RedSquareES2 implements GLEventListener, TileRendererBase.TileRende @Override public void init(final GLAutoDrawable glad) { if(verbose) { - System.err.println(Thread.currentThread()+" RedSquareES2.init: tileRendererInUse "+tileRendererInUse); + System.err.println(Thread.currentThread()+" RedSquareES2.init: tileRendererInUse "+tileRendererInUse+" on "+Thread.currentThread()); + System.err.println(VersionUtil.getPlatformInfo()); + System.err.println(JoglVersion.getInstance()); } final GL2ES2 gl = glad.getGL().getGL2ES2(); if(verbose) { - System.err.println("RedSquareES2 init on "+Thread.currentThread()); System.err.println("Chosen GLCapabilities: " + glad.getChosenGLCapabilities()); System.err.println("INIT GL IS: " + gl.getClass().getName()); System.err.println(JoglVersion.getGLStrings(gl, null, false).toString()); |