diff options
author | Sven Gothel <[email protected]> | 2011-10-13 13:47:30 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-13 13:47:30 +0200 |
commit | 3fd89ccc138eddb915372cff4843f69f764048a7 (patch) | |
tree | e56ee402ffbec00220e4bead29b39a73b467f48e /src/jogl/native/macosx/ContextUpdater.h | |
parent | 5d33b0a3ef993ff2d257c90abc3d84bc93269cd0 (diff) |
MacOSX: Always release ctx on main thread (offscreen was frozen as well); Cleanup Warnings and OSX ContextUpdater
-
Diffstat (limited to 'src/jogl/native/macosx/ContextUpdater.h')
-rw-r--r-- | src/jogl/native/macosx/ContextUpdater.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/native/macosx/ContextUpdater.h b/src/jogl/native/macosx/ContextUpdater.h index 2483ec403..3cf7315af 100644 --- a/src/jogl/native/macosx/ContextUpdater.h +++ b/src/jogl/native/macosx/ContextUpdater.h @@ -31,10 +31,10 @@ This notification is sent whenever an NSView that has an attached NSSurface chan BOOL viewUpdated; } -+ (void) lock; -+ (void) lockInFunction:(char *)func atLine:(int)line; -+ (void) unlock; -+ (void) unlockInFunction:(char *)func atLine:(int)line; +- (void) lock; +- (void) lockInFunction:(char *)func atLine:(int)line; +- (void) unlock; +- (void) unlockInFunction:(char *)func atLine:(int)line; - (id) initWithContext:(NSOpenGLContext *)context view: (NSView *)nsView; |