1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #15246 from vnen/uwp-gdnative

Make GDNative DLLs work on UWP
This commit is contained in:
George Marques
2018-01-01 22:47:22 -02:00
committed by GitHub
5 changed files with 65 additions and 2 deletions

View File

@@ -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) {