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

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug 1148 - SDL window white upon first appearing
To be consistent with other platforms, we'll use black as the background color.
  • Loading branch information
slouken committed May 21, 2013
1 parent 6aabd8c commit 3be4300
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -690,6 +690,7 @@ - (void)resetCursorRects
}
}
nswindow = [[SDLWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:NO screen:screen];
[nswindow setBackgroundColor:NSColor.blackColor];

/* Create a default view for this window */
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
Expand Down

0 comments on commit 3be4300

Please sign in to comment.