summaryrefslogtreecommitdiff
path: root/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-10 18:18:15 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-10 18:18:15 +0000
commita3ac4842bd5c7058b1363f7d3307f61724fc7178 (patch)
tree0e71322d034432a925cbdab2f5e92bc891d3efde /macosx/plugins/PeopsXgl/macsrc/PluginGLView.m
parentaca9c8411f7b86b1ee685965c70e7be682a9a4d0 (diff)
downloadpcsxr-a3ac4842bd5c7058b1363f7d3307f61724fc7178.tar.gz
Remove 32-bit support on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginGLView.m')
-rwxr-xr-xmacosx/plugins/PeopsXgl/macsrc/PluginGLView.m10
1 files changed, 1 insertions, 9 deletions
diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m
index b2ec911a..ec4eb915 100755
--- a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m
+++ b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m
@@ -29,8 +29,6 @@
#include "externals.h" // for PSXDisplay.disable -- should move it elsewhere really
#undef BOOL
-#import "ARCBridge.h"
-
@implementation PluginGLView
- (BOOL)isOpaque
@@ -51,7 +49,6 @@
glLock = [[NSLock alloc] init];
if (nil == glLock) {
- AUTORELEASEOBJNORETURN(self);
return nil;
}
@@ -83,12 +80,11 @@
if (!pixFmt) {
NSLog(@"No OpenGL pixel format found!\n");
- AUTORELEASEOBJNORETURN(self);
return nil;
}
}
- [self setPixelFormat:AUTORELEASEOBJ(pixFmt)];
+ [self setPixelFormat:pixFmt];
[[self openGLContext] makeCurrentContext];
@@ -106,10 +102,6 @@
{
[[self openGLContext] makeCurrentContext]; // just in case
[NSOpenGLContext clearCurrentContext];
-#if !__has_feature(objc_arc)
- [glLock release];
- [super dealloc];
-#endif
}
- (void)reshape // scrolled, moved or resized