mirror of
https://github.com/godotengine/godot
synced 2024-09-05 15:29:50 +00:00
Project supported features: Ignore old 'Vulkan Clustered/Forward' names
This eases transition from beta 1 to beta 2 so that users don't get a warning about a missing feature. The names were just changed. The old feature names are removed from project.godot when opening such a project.
This commit is contained in:
parent
e3464c8fc8
commit
dc4a634c0d
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue