Browse Source

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.
Hugo Locurcio 4 years ago
parent
commit
31fa1af0c0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/editor_node.cpp

+ 2 - 2
editor/editor_node.cpp

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