summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-14 14:31:34 +0100
committerGitHub <noreply@github.com>2020-02-14 14:31:34 +0100
commit19d6d3d136a6cf20f7e1e8eba473097653f46f9f (patch)
treed8473841bd02d186bed3cc427c88742a7819d4d1 /editor
parent79d42069a95e3129e804790a6cd28460d0142b35 (diff)
parentedf907213e3ea153d1ac4a1190c5b6f1417ed68f (diff)
Merge pull request #36191 from drichardson/fix_36190
Disable video driver option in editor
Diffstat (limited to 'editor')
-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;