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.
(cherry picked from commit 53c78b2cac
)
This commit is contained in:
parent
2ba192e803
commit
1875ecb776
|
@ -2337,6 +2337,8 @@ void ProjectManager::_perform_full_project_conversion() {
|
||||||
args.push_back("--path");
|
args.push_back("--path");
|
||||||
args.push_back(path);
|
args.push_back(path);
|
||||||
args.push_back("--convert-3to4");
|
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);
|
Error err = OS::get_singleton()->create_instance(args);
|
||||||
ERR_FAIL_COND(err);
|
ERR_FAIL_COND(err);
|
||||||
|
|
Loading…
Reference in New Issue