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

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