From df301de95fd6b117468b85eecbad7249ca318c7a Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 21 Dec 2022 18:59:01 +0100 Subject: [PATCH] Fix Driver Name editor setting not requiring an editor restart --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index da03dbe713f..9b7e6f219e4 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1103,7 +1103,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph OS::get_singleton()->set_cmdline(execpath, main_args); - GLOBAL_DEF("rendering/quality/driver/driver_name", "GLES3"); + GLOBAL_DEF_RST("rendering/quality/driver/driver_name", "GLES3"); ProjectSettings::get_singleton()->set_custom_property_info("rendering/quality/driver/driver_name", PropertyInfo(Variant::STRING, "rendering/quality/driver/driver_name", PROPERTY_HINT_ENUM, "GLES2,GLES3")); if (video_driver == "") { video_driver = GLOBAL_GET("rendering/quality/driver/driver_name");