Skip to content

Commit 1917bc3

Browse files
committed
Merge pull request godotengine#97490 from Calinou/project-manager-rd-unsupported-show-gpu-name
Show GPU name when RenderingDevice is unsupported in the project creation dialog
2 parents 1da8a2a + 1959dc9 commit 1917bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/project_manager/project_dialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ ProjectDialog::ProjectDialog() {
986986
rvb->add_child(renderer_info);
987987

988988
rd_not_supported = memnew(Label);
989-
rd_not_supported->set_text(TTR("Rendering Device backend not available. Please use the Compatibility renderer."));
989+
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()));
990990
rd_not_supported->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
991991
rd_not_supported->set_custom_minimum_size(Size2(200, 0) * EDSCALE);
992992
rd_not_supported->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);

0 commit comments

Comments
 (0)