summaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.mm
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-14 19:15:46 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-14 19:16:20 +0100
commitfb84b49d87757226305cbaa96224e3fd84df5389 (patch)
treede632fcc690d3f43ffa035d58f3d057509cfd29b /platform/osx/os_osx.mm
parente1b374d5b624c1e0a09d8c6e5c11fc53f8d90423 (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.mm3
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() {