From 2286037bc33c1b74e93d2b4e9fff56d81ad93b01 Mon Sep 17 00:00:00 2001 From: toger5 Date: Tue, 8 Aug 2017 13:51:10 +0200 Subject: [PATCH] removed calls to cursor_set_visible on all platforms fixes #10167 --- platform/android/os_android.cpp | 2 +- platform/iphone/os_iphone.cpp | 2 +- platform/javascript/os_javascript.cpp | 2 +- platform/osx/os_osx.mm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index e3f982ff94d..a027e78de93 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -135,7 +135,7 @@ void OS_Android::initialize(const VideoMode &p_desired, int p_video_driver, int visual_server = memnew(VisualServerWrapMT(visual_server, false)); };*/ visual_server->init(); - visual_server->cursor_set_visible(false, 0); + // visual_server->cursor_set_visible(false, 0); AudioDriverManager::get_driver(p_audio_driver)->set_singleton(); diff --git a/platform/iphone/os_iphone.cpp b/platform/iphone/os_iphone.cpp index b202a993ff9..df497349aec 100644 --- a/platform/iphone/os_iphone.cpp +++ b/platform/iphone/os_iphone.cpp @@ -119,7 +119,7 @@ void OSIPhone::initialize(const VideoMode &p_desired, int p_video_driver, int p_ */ visual_server->init(); - visual_server->cursor_set_visible(false, 0); + // visual_server->cursor_set_visible(false, 0); // reset this to what it should be, it will have been set to 0 after visual_server->init() is called RasterizerStorageGLES3::system_fbo = gl_view_base_fb; diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp index 5513fca8090..d339baf0244 100644 --- a/platform/javascript/os_javascript.cpp +++ b/platform/javascript/os_javascript.cpp @@ -476,7 +476,7 @@ void OS_JavaScript::initialize(const VideoMode &p_desired, int p_video_driver, i print_line("Init VS"); visual_server = memnew(VisualServerRaster()); - visual_server->cursor_set_visible(false, 0); + // visual_server->cursor_set_visible(false, 0); print_line("Init Physicsserver"); diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index a34f6cc5dd3..e8840580525 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -956,7 +956,7 @@ void OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_au visual_server = memnew(VisualServerWrapMT(visual_server, get_render_thread_mode() == RENDER_SEPARATE_THREAD)); } visual_server->init(); - visual_server->cursor_set_visible(false, 0); + // visual_server->cursor_set_visible(false, 0); AudioDriverManager::get_driver(p_audio_driver)->set_singleton();