Upgrade to SDL2.0.3.

This commit is contained in:
rude
2014-03-23 15:09:12 +01:00
parent 2fb789ce68
commit 4a4f1f3329
934 changed files with 9280 additions and 124156 deletions
@@ -587,6 +587,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
inFullscreenTransition = NO;
[nswindow setLevel:kCGNormalWindowLevel];
if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
pendingWindowOperation = PENDING_OPERATION_NONE;
[self setFullscreenSpace:YES];
@@ -610,6 +612,11 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
window->w = 0;
window->h = 0;
[self windowDidResize:aNotification];
/* FIXME: Why does the window get hidden? */
if (window->flags & SDL_WINDOW_SHOWN) {
Cocoa_ShowWindow(SDL_GetVideoDevice(), window);
}
}
}