summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-03-25 18:09:22 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-03-25 18:09:22 +0100
commit31fa1af0c0f1fc209ebfa72e701564ef0adf582d (patch)
tree4ef84a256a4f8fdacd6e0003271adf4f1d09c555
parent8d11b6374ee5488d9c327e86e196427740cfe312 (diff)
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.
-rw-r--r--editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 4cc7c91d38..c48ea18b9e 100644
--- a/editor/editor_node.cpp
+++ b/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