Merge pull request #7797 from Brett-Mitchell/patch-1

Fix for issue #7766
This commit is contained in:
Rémi Verschelde 2017-02-13 21:02:51 +01:00 committed by GitHub
commit 55dc24f753

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