Merge pull request #10169 from toger5/deprecated_curser_fuction_call

removed calls to cursor_set_visible on all platforms fixes #10167
This commit is contained in:
Rémi Verschelde 2017-08-08 14:48:10 +02:00 committed by GitHub
commit 51d8206ee8
4 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

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

View file

@ -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");

View file

@ -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();