diff options
author | Sven Gothel <[email protected]> | 2013-08-10 08:37:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-08-10 08:37:13 +0200 |
commit | 3bbe227b0cec201e2bc26addfe0ab781dcb4d16f (patch) | |
tree | 616d8329be808c59c114ba9966d9e1a5ed453edb /src/jogl/classes/jogamp | |
parent | 5e8cba163ae898832277300b781627529d1cf1d3 (diff) |
GLContext: Refine API doc (CONTEXT_NOT_CURRENT.. values) / Exception message
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index 996a47590..8bc57fdf2 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -320,7 +320,7 @@ public abstract class GLContextImpl extends GLContext { System.err.println(getThreadName() +": GLContext.ContextSwitch[release.0]: obj " + toHexString(hashCode()) + ", ctx "+toHexString(contextHandle)+", surf "+toHexString(drawable.getHandle())+", inDestruction: "+inDestruction+", "+lock); } if ( !lock.isOwner(Thread.currentThread()) ) { - final String msg = getThreadName() +": Context not current on current thread, obj " + toHexString(hashCode())+", ctx "+toHexString(contextHandle)+", surf "+toHexString(drawable.getHandle())+", inDestruction: "+inDestruction+", "+lock; + final String msg = getThreadName() +": Context not current on thread, obj " + toHexString(hashCode())+", ctx "+toHexString(contextHandle)+", surf "+toHexString(drawable.getHandle())+", inDestruction: "+inDestruction+", "+lock; if( DEBUG_TRACE_SWITCH ) { System.err.println(msg); if( null != lastCtxReleaseStack ) { @@ -443,7 +443,7 @@ public abstract class GLContextImpl extends GLContext { drawable.unlockSurface(); } if( null != associateDrawableException ) { - throw new GLException("GLContext.destroy() during associateDrawable(false)", associateDrawableException); + throw new GLException("Exception @ destroy's associateDrawable(false)", associateDrawableException); } } resetStates(); |