Attempt to fix wasm compile error
extern game pointer needs initializer?
This commit is contained in:
parent
fb7b651303
commit
b96f3e9f03
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
|
|
||||||
extern Game *global_game_ptr;
|
extern Game *global_game_ptr = nullptr;
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue