From 1d282b58e4404a18efe7095b4a51da0832749add Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 4 Jul 2013 19:43:04 +0000 Subject: get rid of extra, blank lines on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85818 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/PeopsXgl/macsrc/PluginGLView.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginGLView.m') 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 { -- cgit v1.2.3