Patched to compile on older Mac OS X devtools (thanks, D B!).

This commit is contained in:
Ryan C. Gordon 2013-05-21 23:02:16 -04:00
parent adb0413171
commit c950178124

View file

@ -690,7 +690,7 @@ Cocoa_CreateWindow(_THIS, SDL_Window * window)
}
}
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]];