summaryrefslogtreecommitdiffstats
path: root/editor/project_manager
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-10-02 15:01:38 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-10-02 15:01:38 +0200
commit1917bc3454e58fc56750b00e04aa25cb94d8d266 (patch)
tree558349b341a1118d57a0a2b9cff964c82c8c3c29 /editor/project_manager
parent1da8a2a1ba003ca8a2eed3ec36baaab6d7051a93 (diff)
parent1959dc9b62654d4bb166df9f12cc326c6d985c05 (diff)
downloadredot-engine-1917bc3454e58fc56750b00e04aa25cb94d8d266.tar.gz
Merge pull request #97490 from Calinou/project-manager-rd-unsupported-show-gpu-name
Show GPU name when RenderingDevice is unsupported in the project creation dialog
Diffstat (limited to 'editor/project_manager')
-rw-r--r--editor/project_manager/project_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager/project_dialog.cpp b/editor/project_manager/project_dialog.cpp
index 01868846bf..857c4461c4 100644
--- a/editor/project_manager/project_dialog.cpp
+++ b/editor/project_manager/project_dialog.cpp
@@ -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);