fixed the OS.has_feature() API, and added support for 32 and 64.
This commit is contained in:
parent
a848fa6cde
commit
3cadecf17b
9 changed files with 38 additions and 4 deletions
|
|
@ -97,6 +97,16 @@ void EditorExportPlatformOSX::get_preset_features(const Ref<EditorExportPreset>
|
|||
if (p_preset->get("texture_format/etc2")) {
|
||||
r_features->push_back("etc2");
|
||||
}
|
||||
|
||||
int bits = p_preset->get("application/bits_mode");
|
||||
|
||||
if (bits == 0 || bits == 1) {
|
||||
r_features->push_back("64");
|
||||
}
|
||||
|
||||
if (bits == 0 || bits == 2) {
|
||||
r_features->push_back("32");
|
||||
}
|
||||
}
|
||||
|
||||
void EditorExportPlatformOSX::get_export_options(List<ExportOption> *r_options) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue