Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Patched to compile on older Mac OS X devtools (thanks, D B!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 22, 2013
1 parent f690b98 commit 0478b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -690,7 +690,7 @@ - (void)resetCursorRects
}
}
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]];
Expand Down

0 comments on commit 0478b3b

Please sign in to comment.