diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 23:52:33 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 23:52:33 +0200 |
commit | fc65354a1c4ff5242e427c479cee02a8b84f0cd6 (patch) | |
tree | eb39f12082738d13cf7f027741a93fd458fac3e7 /core | |
parent | 6b5880b765dcb14f9b6ad76f47746b4b053abe49 (diff) | |
parent | dc4a634c0d0cef01e1c9cb6afe53b62225ad7086 (diff) |
Merge pull request #66570 from akien-mga/project-features-ignore-old-vulkan-names
Project supported features: Ignore old 'Vulkan Clustered/Forward' names
Diffstat (limited to 'core')
-rw-r--r-- | core/config/project_settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index a1b22e7f7d..4d19a93991 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -119,6 +119,10 @@ const PackedStringArray ProjectSettings::get_unsupported_features(const PackedSt PackedStringArray supported_features = singleton->_get_supported_features(); for (int i = 0; i < p_project_features.size(); i++) { if (!supported_features.has(p_project_features[i])) { + // Temporary compatibility code to ease upgrade to 4.0 beta 2+. + if (p_project_features[i].begins_with("Vulkan")) { + continue; + } unsupported_features.append(p_project_features[i]); } } |