diff options
author | Sven Gothel <[email protected]> | 2010-12-19 00:16:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-19 00:16:19 +0100 |
commit | e1682f8cd5eab26b12c868f19ff3adc544098077 (patch) | |
tree | 7e702336820e55d00f93c02c002e4dfbde9e4168 /src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java | |
parent | 1a6f376b183c1463e557e8fbbfbccce5633bd520 (diff) |
Debug/Cleanup: toString: print base classname only; Misc ..
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java index 0caf1a92d..5e7f80a9f 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java @@ -171,8 +171,8 @@ public abstract class GLContextImpl extends GLContext { public GL setGL(GL gl) { if(DEBUG) { - String sgl1 = (null!=this.gl)?this.gl.getClass().toString()+", "+this.gl.toString():"<null>"; - String sgl2 = (null!=gl)?gl.getClass().toString()+", "+gl.toString():"<null>"; + String sgl1 = (null!=this.gl)?ReflectionUtil.getBaseName(this.gl.getClass())+", "+this.gl.toString():"<null>"; + String sgl2 = (null!=gl)?ReflectionUtil.getBaseName(gl.getClass())+", "+gl.toString():"<null>"; Exception e = new Exception("Info: setGL (OpenGL "+getGLVersion()+"): "+Thread.currentThread().getName()+", "+sgl1+" -> "+sgl2); e.printStackTrace(); } |