diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-04 16:49:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 16:49:49 +0100 |
commit | bd6ab5360ff2dad644653954d4b19ac663726788 (patch) | |
tree | 4de778bcb0fae3480c5065bf96672007707cf239 /platform/android/export | |
parent | 5809be96412b0d3fb5c7cb36ce97a57bbb36de38 (diff) | |
parent | 130cdb2f2a1cbd425f1e390242da0b3401ed7c6d (diff) |
Merge pull request #24592 from volzhs/android-etc
Make possible to use ETC texture format with GLES3 on Android
Diffstat (limited to 'platform/android/export')
-rw-r--r-- | platform/android/export/export.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 3b5a6e9a6d..f4a2a1020f 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1121,9 +1121,10 @@ public: r_features->push_back("etc"); else*/ String driver = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name"); - if (driver == "GLES2") { + if (driver == "GLES2" || driver == "GLES3") { r_features->push_back("etc"); - } else { + } + if (driver == "GLES3") { r_features->push_back("etc2"); } |