From f67d7fa137557322a561d4c8ca04f6e548d2aa59 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Sun, 19 Mar 2023 08:54:12 -0700 Subject: [PATCH] Make vulkan level 1 an optional requirement --- platform/android/export/export_plugin.cpp | 2 +- platform/android/export/gradle_export_util.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 3153b9ee24a3..a362b6370ee6 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1066,7 +1066,7 @@ void EditorExportPlatformAndroid::_fix_manifest(const Ref &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 diff --git a/platform/android/export/gradle_export_util.cpp b/platform/android/export/gradle_export_util.cpp index 23ace18f4fb6..ba4487cc4d39 100644 --- a/platform/android/export/gradle_export_util.cpp +++ b/platform/android/export/gradle_export_util.cpp @@ -275,7 +275,7 @@ String _get_xr_features_tag(const Ref &p_preset, bool p_uses } if (p_uses_vulkan) { - manifest_xr_features += " \n"; + manifest_xr_features += " \n"; manifest_xr_features += " \n"; } return manifest_xr_features;