summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorDoug Richardson <doug@rekt.email>2020-02-13 11:50:36 -0800
committerDoug Richardson <doug@rekt.email>2020-02-13 12:30:10 -0800
commitedf907213e3ea153d1ac4a1190c5b6f1417ed68f (patch)
treeca73dced37e39e3dadb6df29638b4b7d8c64425e /editor/editor_node.cpp
parent234d355081d2ef61d84139d73b2ebad5abc4fe30 (diff)
Disable video driver option in editor since switching to GLES2 would
currently cause a crash on restart. Fixes #36190.
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index f88b071515..baee7abb32 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6406,6 +6406,8 @@ EditorNode::EditorNode() {
video_driver->set_focus_mode(Control::FOCUS_NONE);
video_driver->connect("item_selected", this, "_video_driver_selected");
video_driver->add_font_override("font", gui_base->get_font("bold", "EditorFonts"));
+ // TODO re-enable when GLES2 is ported
+ video_driver->set_disabled(true);
right_menu_hb->add_child(video_driver);
String video_drivers = ProjectSettings::get_singleton()->get_custom_property_info()["rendering/quality/driver/driver_name"].hint_string;