mirror of
https://github.com/yawut/SDL.git
synced 2026-09-12 11:06:49 -05:00
Patched to compile on older Mac OS X devtools (thanks, D B!).
This commit is contained in:
@@ -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]];
|
||||
|
||||
Reference in New Issue
Block a user