mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
[HTML5] GDNative support via SIDE_MODULE.
Working, with emscripten > 2.0.9 Yes, the unreleased version. 2.0.9 works, but throws and error due to a bug in emscripten with the thirdparty ENet library. The issue is fixed upstream so newer releases will work.
This commit is contained in:
parent
8ebb52fad6
commit
4d1ebaad0f
8 changed files with 109 additions and 33 deletions
|
|
@ -74,7 +74,7 @@ void main_loop_callback() {
|
|||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
extern EMSCRIPTEN_KEEPALIVE int godot_js_main(int argc, char *argv[]) {
|
||||
// Set locale
|
||||
char locale_ptr[16];
|
||||
godot_js_config_locale_get(locale_ptr, sizeof(locale_ptr));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue