diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-01 23:07:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 23:07:21 +0100 |
commit | 29a66f7b04924505d0694a8101eec16ffb8a7c11 (patch) | |
tree | 3e4aa98e24e4dea640f032b9c702be101199ac04 /platform/android/export/export_plugin.cpp | |
parent | 5945f43cc8d18976129e7f59003caf3873c90e22 (diff) | |
parent | 665d29c16dd4eafb3c90e7f65835030d8d0b4f43 (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.cpp | 4 |
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"); } |