diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-01 22:04:36 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-01 22:04:36 +0100 |
commit | 665d29c16dd4eafb3c90e7f65835030d8d0b4f43 (patch) | |
tree | 28f6925433f3619411916ceeecac0af6ca0ed152 /platform/android/export/export_plugin.cpp | |
parent | 96ce806b2f2797fd27a0d40738ee5be6bc30b0aa (diff) | |
download | redot-engine-665d29c16dd4eafb3c90e7f65835030d8d0b4f43.tar.gz |
Fix new projects always being created with OpenGL
Only Vulkan is fully implemented for now, so OpenGL isn't available
in the project manager yet.
This also makes the rendering driver checks use lowercase names
everywhere for consistency.
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"); } |