diff options
author | Sven Gothel <sgothel@jausoft.com> | 2010-04-23 02:10:28 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2010-04-23 02:10:28 +0200 |
commit | b62a3af2d58ff52c0341f04cdc21d069a8051d31 (patch) | |
tree | 3c491020bafd650ebe3a09f4bcbc1c6d94c1f1be /src/jogl/classes/com/jogamp/opengl/impl/macosx | |
parent | 2151f2179cd1ce5f0d42c3514af11a9c235762db (diff) | |
parent | 56679ab5373dc47286f741f07aeab4ec1f39c43b (diff) |
Merge branch 'master' of github.com:mbien/jogl
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/macosx')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java b/src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java index 5816b2101..cf29d214b 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawable.java @@ -87,11 +87,8 @@ public abstract class MacOSXCGLDrawable extends GLDrawableImpl { if( NativeWindow.LOCK_SURFACE_NOT_READY == lockSurface() ) { throw new GLException("Couldn't lock surface"); } - try { - // don't remove this block .. locking the surface is essential to update surface data - } finally { - unlockSurface(); - } + // locking the surface is essential to update surface data + unlockSurface(); } } |