diff options
author | Sven Gothel <[email protected]> | 2013-06-16 04:04:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-16 04:04:55 +0200 |
commit | ea85d60b854e2b6720dc0ef2b43c783074a66abf (patch) | |
tree | e0dedf34e064bcc274d29651157a5178c1771858 | |
parent | 646a1f18c6f7e755f6ae3cbb3f2282b1b1bc9e5f (diff) |
MacOSXCGLContext: Use final qualifier for CGL.CGLLockContext(cglCtx) result.
-rw-r--r-- | src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java index b90609ff1..976056891 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java @@ -939,7 +939,7 @@ public class MacOSXCGLContext extends GLContextImpl if(0 == cglCtx) { throw new InternalError("Null CGLContext for: "+this); } - int err = CGL.CGLLockContext(cglCtx); + final int err = CGL.CGLLockContext(cglCtx); if(CGL.kCGLNoError == err) { validatePBufferConfig(ctx); // required to handle pbuffer change ASAP return CGL.makeCurrentContext(ctx); |