summaryrefslogtreecommitdiff
path: root/platform/iphone/export
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-01 22:04:36 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-01 22:04:36 +0100
commit665d29c16dd4eafb3c90e7f65835030d8d0b4f43 (patch)
tree28f6925433f3619411916ceeecac0af6ca0ed152 /platform/iphone/export
parent96ce806b2f2797fd27a0d40738ee5be6bc30b0aa (diff)
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/iphone/export')
-rw-r--r--platform/iphone/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/export/export_plugin.cpp b/platform/iphone/export/export_plugin.cpp
index 54fb597c62..0559c8130f 100644
--- a/platform/iphone/export/export_plugin.cpp
+++ b/platform/iphone/export/export_plugin.cpp
@@ -33,7 +33,7 @@
void EditorExportPlatformIOS::get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) {
String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name");
r_features->push_back("pvrtc");
- if (driver == "Vulkan") {
+ if (driver == "vulkan") {
// FIXME: Review if this is correct.
r_features->push_back("etc2");
}