mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 17:44:35 +00:00
Fixed compiler warning
This commit is contained in:
parent
24864a72cc
commit
f3564c3a8e
@ -792,7 +792,7 @@ Cocoa_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display
|
||||
[nswindow setContentSize:rect.size];
|
||||
} else {
|
||||
if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
|
||||
[nswindow performSelector: @selector(setStyleMask:) withObject: (id)GetWindowStyle(window)];
|
||||
[nswindow performSelector: @selector(setStyleMask:) withObject: (id)(uintptr_t)GetWindowStyle(window)];
|
||||
}
|
||||
|
||||
// This doesn't seem to do anything...
|
||||
|
Loading…
Reference in New Issue
Block a user