fixed the OS.has_feature() API, and added support for 32 and 64.

This commit is contained in:
Juan Linietsky
2017-10-02 16:38:39 -03:00
parent a848fa6cde
commit 3cadecf17b
9 changed files with 38 additions and 4 deletions

View File

@@ -1141,6 +1141,12 @@ void EditorExportPlatformPC::get_preset_features(const Ref<EditorExportPreset> &
if (p_preset->get("texture_format/etc2")) {
r_features->push_back("etc2");
}
if (p_preset->get("binary_format/64_bits")) {
r_features->push_back("64");
} else {
r_features->push_back("32");
}
}
void EditorExportPlatformPC::get_export_options(List<ExportOption> *r_options) {