From a3ac4842bd5c7058b1363f7d3307f61724fc7178 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 10 Sep 2013 18:18:15 +0000 Subject: Remove 32-bit support on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87114 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'macosx/plugins/DFXVideo/macsrc/PluginGLView.m') diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index 778721fb..592d57f2 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -26,7 +26,6 @@ #undef BOOL #include "gpu.h" #include "swap.h" -#import "ARCBridge.h" #include extern time_t tStart; @@ -91,7 +90,6 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) glLock = [[NSLock alloc] init]; if (nil == glLock) { - AUTORELEASEOBJNORETURN(self); return nil; } @@ -121,12 +119,11 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) if (!pixFmt) { NSLog(@"No OpenGL pixel format found!\n"); - AUTORELEASEOBJNORETURN(self); return nil; } } - [self setPixelFormat:AUTORELEASEOBJ(pixFmt)]; + [self setPixelFormat:pixFmt]; /* long swapInterval = 1 ; @@ -179,7 +176,6 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) image_type = GL_UNSIGNED_SHORT_1_5_5_5_REV; image_base = (GLubyte *) calloc(((IMAGE_COUNT * image_width * image_height) / 3) * 4, image_depth >> 3); if (image_base == nil) { - AUTORELEASEOBJNORETURN(self); return nil; } @@ -218,12 +214,6 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) if (image_base) free(image_base); - -#if !__has_feature(objc_arc) - [glLock release]; - - [super dealloc]; -#endif } - (BOOL)isOpaque -- cgit v1.2.3