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.
(cherry picked from commit 6921e11805)
This commit is contained in:
Brett-Mitchell 2017-02-13 12:55:26 -05:00 committed by Rémi Verschelde
parent 12a1b517ca
commit 616850b3c0

View File

@ -1781,7 +1781,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];