diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-09-30 23:10:18 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-09-30 23:11:24 -0300 |
commit | c24277a520acf856831ed78d4f96444290d17597 (patch) | |
tree | 88b33c91dc6b4e1b573293219d1f663fa520fd48 /platform/android | |
parent | 80d6bb7193a0ea2e233363bcc959cff882f5a6a4 (diff) |
-Many GLES2 optimizations
-Android export fixes (use ETC if GLES2 backend in use)
-revert to thekla atlas because xatlas is not working well
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/export/export.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 683dbfdc5a..021a92ca1e 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1054,7 +1054,12 @@ public: if (api == 0) r_features->push_back("etc"); else*/ - r_features->push_back("etc2"); + String driver = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name"); + if (driver == "GLES2") { + r_features->push_back("etc"); + } else { + r_features->push_back("etc2"); + } Vector<String> abis = get_enabled_abis(p_preset); for (int i = 0; i < abis.size(); ++i) { |