diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 19:15:46 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-12-14 19:16:20 +0100 |
commit | fb84b49d87757226305cbaa96224e3fd84df5389 (patch) | |
tree | de632fcc690d3f43ffa035d58f3d057509cfd29b /platform/osx/os_osx.mm | |
parent | e1b374d5b624c1e0a09d8c6e5c11fc53f8d90423 (diff) |
Fix type mismatch in OS::set_borderless_window
Closes #14663.
Diffstat (limited to 'platform/osx/os_osx.mm')
-rw-r--r-- | platform/osx/os_osx.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 3d4883e269..f3809e6eed 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1818,7 +1818,7 @@ void OS_OSX::request_attention() { [NSApp requestUserAttention:NSCriticalRequest]; } -void OS_OSX::set_borderless_window(int p_borderless) { +void OS_OSX::set_borderless_window(bool p_borderless) { // OrderOut prevents a lose focus bug with the window [window_object orderOut:nil]; @@ -1975,7 +1975,6 @@ void OS_OSX::force_process_input() { process_events(); // get rid of pending events joypad_osx->process_joypads(); - } void OS_OSX::run() { |