summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorBrett-Mitchell <bm06370@georgiasouthern.edu>2017-02-13 12:55:26 -0500
committerGitHub <noreply@github.com>2017-02-13 12:55:26 -0500
commit6921e118058ab193f4dfc09ad42f27f5261d7d15 (patch)
tree037f9c882958e53916b65fdc3e7099470bc7a85b /platform/osx
parentea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (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.mm3
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];