summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authortoger5 <toger5@hotmail.de>2017-08-08 13:51:10 +0200
committertoger5 <toger5@hotmail.de>2017-08-08 14:04:22 +0200
commit2286037bc33c1b74e93d2b4e9fff56d81ad93b01 (patch)
tree44fb46251c4c219b36ec01f21f161c0ae1b45b70 /platform
parent5e1116da4ce052acc64f45ba4bd71310b4826aea (diff)
removed calls to cursor_set_visible on all platforms fixes #10167
Diffstat (limited to 'platform')
-rw-r--r--platform/android/os_android.cpp2
-rw-r--r--platform/iphone/os_iphone.cpp2
-rw-r--r--platform/javascript/os_javascript.cpp2
-rw-r--r--platform/osx/os_osx.mm2
4 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp
index e3f982ff94..a027e78de9 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 b202a993ff..df497349ae 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 5513fca809..d339baf024 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 a34f6cc5dd..e884058052 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();