Hide renderer selection dropdown in the editor as it's not implemented

It will take at least a few months until an OpenGL renderer is made
available for the `master` branch.
This commit is contained in:
Hugo Locurcio 2021-03-25 18:09:22 +01:00
parent 8d11b6374e
commit 31fa1af0c0
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -6466,8 +6466,8 @@ EditorNode::EditorNode() {
video_driver->connect("item_selected", callable_mp(this, &EditorNode::_video_driver_selected));
video_driver->add_theme_font_override("font", gui_base->get_theme_font("bold", "EditorFonts"));
video_driver->add_theme_font_size_override("font_size", gui_base->get_theme_font_size("bold_size", "EditorFonts"));
// TODO re-enable when GLES2 is ported
video_driver->set_disabled(true);
// TODO: Show again when OpenGL is ported.
video_driver->set_visible(false);
right_menu_hb->add_child(video_driver);
#ifndef _MSC_VER