Patched to compile on older Mac OS X devtools (thanks, D B!).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 21 May 2013 23:02:16 -0400
changeset 7205 b1ca5be78064
parent 7204 ad1ee23309ca
child 7206 b69dfd56e1b0
Patched to compile on older Mac OS X devtools (thanks, D B!).
src/video/cocoa/SDL_cocoawindow.m
--- a/src/video/cocoa/SDL_cocoawindow.m	Tue May 21 00:49:31 2013 -0700
+++ b/src/video/cocoa/SDL_cocoawindow.m	Tue May 21 23:02:16 2013 -0400
@@ -690,7 +690,7 @@
         }
     }
     nswindow = [[SDLWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:NO screen:screen];
-    [nswindow setBackgroundColor:NSColor.blackColor];
+    [nswindow setBackgroundColor:[NSColor blackColor]];
 
     /* Create a default view for this window */
     rect = [nswindow contentRectForFrameRect:[nswindow frame]];