From 3fd89ccc138eddb915372cff4843f69f764048a7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 13 Oct 2011 13:47:30 +0200 Subject: MacOSX: Always release ctx on main thread (offscreen was frozen as well); Cleanup Warnings and OSX ContextUpdater - --- src/jogl/native/macosx/ContextUpdater.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jogl/native/macosx/ContextUpdater.h') 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; -- cgit v1.2.3