From 53c78b2cacf71a7156c1813348bb4a556405facf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 28 Jun 2023 15:07:37 +0200 Subject: [PATCH] Project converter: Use same rendering driver as Project Manager Which means by default OpenGL 3, but it can still be overridden from the command line. Fixes #76303. --- editor/project_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index a86963c3303..898102a0807 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -2337,6 +2337,8 @@ void ProjectManager::_perform_full_project_conversion() { args.push_back("--path"); args.push_back(path); args.push_back("--convert-3to4"); + args.push_back("--rendering-driver"); + args.push_back(Main::get_rendering_driver_name()); Error err = OS::get_singleton()->create_instance(args); ERR_FAIL_COND(err);