Several changes to better run in mobile.
This commit is contained in:
parent
492999a33b
commit
772485cdb3
24 changed files with 508 additions and 171 deletions
|
|
@ -2830,7 +2830,11 @@ public:
|
|||
public:
|
||||
virtual void get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *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<ExportOption> *r_options) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue