Skip to content

Commit

Permalink
Merge pull request godotengine#97490 from Calinou/project-manager-rd-…
Browse files Browse the repository at this point in the history
…unsupported-show-gpu-name

Show GPU name when RenderingDevice is unsupported in the project creation dialog
  • Loading branch information
akien-mga committed Oct 2, 2024
2 parents 1da8a2a + 1959dc9 commit 1917bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/project_manager/project_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ ProjectDialog::ProjectDialog() {
rvb->add_child(renderer_info);

rd_not_supported = memnew(Label);
rd_not_supported->set_text(TTR("Rendering Device backend not available. Please use the Compatibility renderer."));
rd_not_supported->set_text(vformat(TTR("RenderingDevice-based methods not available on this GPU:\n%s\nPlease use the Compatibility renderer."), RenderingServer::get_singleton()->get_video_adapter_name()));
rd_not_supported->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
rd_not_supported->set_custom_minimum_size(Size2(200, 0) * EDSCALE);
rd_not_supported->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);
Expand Down

0 comments on commit 1917bc3

Please sign in to comment.