mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[HTML5] GDNative support via SIDE_MODULE.
Working with emscripten >= 2.0.10
This commit is contained in:
parent
1167ab96e9
commit
ca34b5e57a
8 changed files with 109 additions and 33 deletions
|
|
@ -75,7 +75,7 @@ void main_loop_callback() {
|
|||
}
|
||||
|
||||
/// When calling main, it is assumed FS is setup and synced.
|
||||
int main(int argc, char *argv[]) {
|
||||
extern EMSCRIPTEN_KEEPALIVE int godot_js_main(int argc, char *argv[]) {
|
||||
os = new OS_JavaScript();
|
||||
|
||||
// We must override main when testing is enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue