diff options
author | George Marques <george@gmarqu.es> | 2018-01-01 22:47:22 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-01 22:47:22 -0200 |
commit | c9005ca7fd63980eaf09ebe4598521aa1083873b (patch) | |
tree | b75eaf71364a91da3cb0dcfef537cbcbd24a51e8 /platform/uwp/export/export.cpp | |
parent | b50a9114b105dafafdda8248a38653bca314a6f3 (diff) | |
parent | 2a023a425dd73ee476aa78fc6a544ea3bfbc010b (diff) | |
download | redot-engine-c9005ca7fd63980eaf09ebe4598521aa1083873b.tar.gz |
Merge pull request #15246 from vnen/uwp-gdnative
Make GDNative DLLs work on UWP
Diffstat (limited to 'platform/uwp/export/export.cpp')
-rw-r--r-- | platform/uwp/export/export.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index f9a8b6f26e..620f6c0f24 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -1024,6 +1024,17 @@ public: virtual void get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) { r_features->push_back("s3tc"); r_features->push_back("etc"); + switch ((int)p_preset->get("architecture/target")) { + case EditorExportUWP::ARM: { + r_features->push_back("arm"); + } break; + case EditorExportUWP::X86: { + r_features->push_back("32"); + } break; + case EditorExportUWP::X64: { + r_features->push_back("64"); + } break; + } } virtual void get_export_options(List<ExportOption> *r_options) { |