diff options
| author | Juan Linietsky | 2017-10-02 16:38:39 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-10-03 17:36:14 -0300 |
| commit | 3cadecf17be08198f8a28e0674bfde30c8fc824f (patch) | |
| tree | d7f50c210e56efbce70253485c69c23aa3af5bad /editor/editor_export.cpp | |
| parent | a848fa6cdeb00f0c40f259cde2d59112272e3c51 (diff) | |
| download | godot-3cadecf17be08198f8a28e0674bfde30c8fc824f.tar.gz godot-3cadecf17be08198f8a28e0674bfde30c8fc824f.tar.zst godot-3cadecf17be08198f8a28e0674bfde30c8fc824f.zip | |
fixed the OS.has_feature() API, and added support for 32 and 64.
Diffstat (limited to 'editor/editor_export.cpp')
| -rw-r--r-- | editor/editor_export.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index db12998dd..bc20a9980 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -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) { |
