summaryrefslogtreecommitdiff
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-01 23:07:21 +0100
committerGitHub <noreply@github.com>2021-11-01 23:07:21 +0100
commit29a66f7b04924505d0694a8101eec16ffb8a7c11 (patch)
tree3e4aa98e24e4dea640f032b9c702be101199ac04 /platform/android/export/export_plugin.cpp
parent5945f43cc8d18976129e7f59003caf3873c90e22 (diff)
parent665d29c16dd4eafb3c90e7f65835030d8d0b4f43 (diff)
Merge pull request #54491 from Calinou/project-manager-fix-vulkan-choice
Fix new projects always being created with OpenGL
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r--platform/android/export/export_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index e27274be21..5bd5648b6e 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -1612,11 +1612,11 @@ Vector<String> EditorExportPlatformAndroid::get_enabled_abis(const Ref<EditorExp
void EditorExportPlatformAndroid::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) {
String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name");
- if (driver == "OpenGL3") {
+ if (driver == "opengl3") {
r_features->push_back("etc");
}
// FIXME: Review what texture formats are used for Vulkan.
- if (driver == "Vulkan") {
+ if (driver == "vulkan") {
r_features->push_back("etc2");
}