summaryrefslogtreecommitdiff
path: root/platform/iphone/export/export.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-13 11:24:15 +0100
committerGitHub <noreply@github.com>2020-02-13 11:24:15 +0100
commit2f6ca917f75ca6bfbe28f4749825fdabde1d0531 (patch)
treea263613010c3e303d4ec8a3a45bd98a19f5f42c3 /platform/iphone/export/export.cpp
parentf505aae1d820f0d083ca0fdaa6fa2da7a3988db1 (diff)
parent386968ea97d4ceeb004cc05a7aa740aa7abe6ca9 (diff)
Merge pull request #36174 from akien-mga/byebye-openghell-3
Remove obsolete GLES3 backend
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r--platform/iphone/export/export.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index f9276c16b5..0767ce7638 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -167,11 +167,9 @@ void EditorExportPlatformIOS::get_preset_features(const Ref<EditorExportPreset>
String driver = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name");
if (driver == "GLES2") {
r_features->push_back("etc");
- } else if (driver == "GLES3") {
+ } else if (driver == "Vulkan") {
+ // FIXME: Review if this is correct.
r_features->push_back("etc2");
- if (ProjectSettings::get_singleton()->get("rendering/quality/driver/fallback_to_gles2")) {
- r_features->push_back("etc");
- }
}
Vector<String> architectures = _get_preset_architectures(p_preset);