From 772485cdb3a0b0003da6e174157680559fa2a59e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 22 Jul 2017 14:07:38 -0300 Subject: Several changes to better run in mobile. --- platform/android/export/export.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'platform/android/export') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index cb9d0c8b53..97f239c4da 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -2830,7 +2830,11 @@ public: public: virtual void get_preset_features(const Ref &p_preset, List *r_features) { - r_features->push_back("etc"); + int api = p_preset->get("graphics/api"); + if (api == 0) + r_features->push_back("etc"); + else + r_features->push_back("etc2"); } virtual void get_export_options(List *r_options) { -- cgit v1.2.3