diff options
author | Brett-Mitchell <bm06370@georgiasouthern.edu> | 2017-02-13 12:55:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 12:55:26 -0500 |
commit | 6921e118058ab193f4dfc09ad42f27f5261d7d15 (patch) | |
tree | 037f9c882958e53916b65fdc3e7099470bc7a85b /platform/osx | |
parent | ea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (diff) |
Fix for issue #7766
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
Diffstat (limited to 'platform/osx')
-rw-r--r-- | platform/osx/os_osx.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 854ccacbf1..d74200c744 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1765,7 +1765,8 @@ String OS_OSX::get_joy_guid(int p_device) const { OS_OSX* OS_OSX::singleton=NULL; OS_OSX::OS_OSX() { - + + mouse_mode=OS::MOUSE_MODE_VISIBLE main_loop=NULL; singleton=this; autoreleasePool = [[NSAutoreleasePool alloc] init]; |