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.
This commit is contained in:
Brett-Mitchell 2017-02-13 12:55:26 -05:00 committed by GitHub
parent ea7e8c8e86
commit 6921e11805

View file

@ -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];