From 6921e118058ab193f4dfc09ad42f27f5261d7d15 Mon Sep 17 00:00:00 2001 From: Brett-Mitchell Date: Mon, 13 Feb 2017 12:55:26 -0500 Subject: 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. --- platform/osx/os_osx.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform/osx') 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]; -- cgit v1.2.3