diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-16 11:15:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-16 11:15:34 +0100 |
commit | a27b85378ba75bacd9730e609f6068a5fd73484e (patch) | |
tree | c41822184834996ad10dddfcb8d0c6c9244f1278 /platform/iphone/export/export_plugin.cpp | |
parent | e465e6d2ab80354d1d1d223bb551454e3664e6a9 (diff) | |
parent | 40be15920f849100dbf5bf94a1d09e81bf05c6e4 (diff) |
Merge pull request #56309 from Calinou/remove-pvrtc-support
Diffstat (limited to 'platform/iphone/export/export_plugin.cpp')
-rw-r--r-- | platform/iphone/export/export_plugin.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/platform/iphone/export/export_plugin.cpp b/platform/iphone/export/export_plugin.cpp index 0ad68086a7..67d1805ceb 100644 --- a/platform/iphone/export/export_plugin.cpp +++ b/platform/iphone/export/export_plugin.cpp @@ -32,11 +32,8 @@ 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") { - // FIXME: Review if this is correct. - r_features->push_back("etc2"); - } + // Vulkan and OpenGL ES 3.0 both mandate ETC2 support. + r_features->push_back("etc2"); Vector<String> architectures = _get_preset_architectures(p_preset); for (int i = 0; i < architectures.size(); ++i) { @@ -1766,7 +1763,7 @@ bool EditorExportPlatformIOS::can_export(const Ref<EditorExportPreset> &p_preset } } - String etc_error = test_etc2_or_pvrtc(); + const String etc_error = test_etc2(); if (!etc_error.is_empty()) { valid = false; err += etc_error; |