aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-08-10 08:37:13 +0200
committerSven Gothel <[email protected]>2013-08-10 08:37:13 +0200
commit3bbe227b0cec201e2bc26addfe0ab781dcb4d16f (patch)
tree616d8329be808c59c114ba9966d9e1a5ed453edb /src/jogl/classes/jogamp/opengl
parent5e8cba163ae898832277300b781627529d1cf1d3 (diff)
GLContext: Refine API doc (CONTEXT_NOT_CURRENT.. values) / Exception message
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java4
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();