summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/gdnative_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-03 17:15:14 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 01:12:52 +0100
commitdd9503dc1937e1469b2a6f8e145e80acbf2c7cbb (patch)
tree3d99772bd543ddda07ff17a7ef6247e982488574 /modules/gdnative/gdnative_library_editor_plugin.cpp
parent1e7bd3d08be6559ae14b0d25234cfc01298fe450 (diff)
downloadredot-engine-dd9503dc1937e1469b2a6f8e145e80acbf2c7cbb.tar.gz
[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.
Diffstat (limited to 'modules/gdnative/gdnative_library_editor_plugin.cpp')
-rw-r--r--modules/gdnative/gdnative_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative_library_editor_plugin.cpp b/modules/gdnative/gdnative_library_editor_plugin.cpp
index 9a3b73077f..719fcbc927 100644
--- a/modules/gdnative/gdnative_library_editor_plugin.cpp
+++ b/modules/gdnative/gdnative_library_editor_plugin.cpp
@@ -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;