aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-06-29 03:59:22 +0200
committerSven Gothel <[email protected]>2012-06-29 03:59:22 +0200
commit89b09958ef1ad9cdc228517d2acaa0dc27aa559f (patch)
tree67498688983f47f3ae80945691f4ecc8500cc937 /src/jogl/classes/javax/media/opengl/GLContext.java
parentc03ad260aea0b4a640a5eeb50a206688c531b591 (diff)
Minor cleanup
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLContext.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLContext.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java
index dfae76e73..bf6ee31df 100644
--- a/src/jogl/classes/javax/media/opengl/GLContext.java
+++ b/src/jogl/classes/javax/media/opengl/GLContext.java
@@ -52,7 +52,6 @@ import com.jogamp.common.util.locks.RecursiveLock;
import jogamp.opengl.Debug;
import jogamp.opengl.GLContextImpl;
-import jogamp.opengl.GLContextShareSet;
/** Abstraction for an OpenGL rendering context. In order to perform
OpenGL rendering, a context must be "made current" on the current
@@ -190,10 +189,8 @@ public abstract class GLContext {
* a value of CONTEXT_NOT_CURRENT is returned.
* </p>
* <p>
- * If the context is in use by another thread at the time of the
- * call, then if isSynchronized() is true the call will
- * block. If isSynchronized() is false, an exception will be
- * thrown and the context will remain current on the other thread.
+ * This method is blocking, i.e. waits until another thread has
+ * released the context.
* </p>
* <p>
* The drawable's surface is being locked at entry