Patched to compile on older Mac OS X devtools (thanks, D B!).
--- 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]];