Skip to content

Commit

Permalink
Project converter: Use same rendering driver as Project Manager
Browse files Browse the repository at this point in the history
Which means by default OpenGL 3, but it can still be overridden from the command line.
Fixes godotengine#76303.

(cherry picked from commit 53c78b2)
  • Loading branch information
akien-mga authored and YuriSizov committed Jul 10, 2023
1 parent 2ba192e commit 1875ecb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/project_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1875ecb

Please sign in to comment.