mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Make vulkan level 1 an optional requirement
This commit is contained in:
parent
4d5f10fc3a
commit
f67d7fa137
@ -1066,7 +1066,7 @@ void EditorExportPlatformAndroid::_fix_manifest(const Ref<EditorExportPreset> &p
|
||||
if (_uses_vulkan()) {
|
||||
// Require vulkan hardware level 1 support
|
||||
feature_names.push_back("android.hardware.vulkan.level");
|
||||
feature_required_list.push_back(true);
|
||||
feature_required_list.push_back(false);
|
||||
feature_versions.push_back(1);
|
||||
|
||||
// Require vulkan version 1.0
|
||||
|
@ -275,7 +275,7 @@ String _get_xr_features_tag(const Ref<EditorExportPreset> &p_preset, bool p_uses
|
||||
}
|
||||
|
||||
if (p_uses_vulkan) {
|
||||
manifest_xr_features += " <uses-feature tools:node=\"replace\" android:name=\"android.hardware.vulkan.level\" android:required=\"true\" android:version=\"1\" />\n";
|
||||
manifest_xr_features += " <uses-feature tools:node=\"replace\" android:name=\"android.hardware.vulkan.level\" android:required=\"false\" android:version=\"1\" />\n";
|
||||
manifest_xr_features += " <uses-feature tools:node=\"replace\" android:name=\"android.hardware.vulkan.version\" android:required=\"true\" android:version=\"0x400003\" />\n";
|
||||
}
|
||||
return manifest_xr_features;
|
||||
|
Loading…
Reference in New Issue
Block a user