From 89b09958ef1ad9cdc228517d2acaa0dc27aa559f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 29 Jun 2012 03:59:22 +0200 Subject: Minor cleanup --- src/jogl/classes/javax/media/opengl/GLContext.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/jogl/classes/javax/media/opengl/GLContext.java') 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. *

*

- * 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. *

*

* The drawable's surface is being locked at entry -- cgit v1.2.3