1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

[HTML5] Make GDNative support feature-based.

This is suboptimal as it requires adding an extra compile flag, but
rewriting how feature tags work is beyond the scope of this work.
This commit is contained in:
Fabio Alessandrelli
2020-12-03 17:15:14 +01:00
parent 1e7bd3d08b
commit dd9503dc19
4 changed files with 22 additions and 3 deletions

View File

@@ -310,7 +310,7 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() {
NativePlatformConfig platform_html5;
platform_html5.name = "HTML5";
platform_html5.entries.push_back("web");
platform_html5.entries.push_back("wasm32");
platform_html5.library_extension = "*.wasm";
platforms["HTML5"] = platform_html5;