diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLPbufferImpl.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLPbufferImpl.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java b/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java index 1d52bedbb..d667fa53a 100644 --- a/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java @@ -40,6 +40,7 @@ package jogamp.opengl; +import com.jogamp.common.util.locks.LockFactory; import com.jogamp.common.util.locks.RecursiveLock; import javax.media.nativewindow.NativeSurface; import javax.media.opengl.GL; @@ -255,7 +256,7 @@ public class GLPbufferImpl implements GLPbuffer { return pbufferDrawable.getGLProfile(); } - private RecursiveLock recurLock = new RecursiveLock(); + private RecursiveLock recurLock = LockFactory.createRecursiveLock(); public int lockSurface() throws GLException { recurLock.lock(); @@ -270,10 +271,6 @@ public class GLPbufferImpl implements GLPbuffer { return recurLock.isLocked(); } - public Throwable getLockedStack() { - return recurLock.getLockedStack(); - } - public int getFloatingPointMode() { if (floatMode == 0) { throw new GLException("Pbuffer not initialized, or floating-point support not requested"); |