Patched to compile on older Mac OS X devtools (thanks, D B!).
This commit is contained in:
parent
adb0413171
commit
c950178124
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ Cocoa_CreateWindow(_THIS, SDL_Window * window)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nswindow = [[SDLWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:NO screen:screen];
|
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 */
|
/* Create a default view for this window */
|
||||||
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
|
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue