diff options
Diffstat (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginGLView.m')
| -rwxr-xr-x | macosx/plugins/PeopsXgl/macsrc/PluginGLView.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m index 85aa636e..4e8b8c67 100755 --- a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m +++ b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m @@ -36,7 +36,6 @@ - (BOOL)isOpaque { return YES; } - (BOOL)acceptsFirstResponder { return NO; } - - (id) initWithCoder: (NSCoder *) coder { // Set up pixel format on creation @@ -97,15 +96,15 @@ return self; } -#if !__has_feature(objc_arc) - (void)dealloc { [[self openGLContext] makeCurrentContext]; // just in case [NSOpenGLContext clearCurrentContext]; +#if !__has_feature(objc_arc) [glLock release]; [super dealloc]; -} #endif +} - (void)reshape // scrolled, moved or resized { |
