From: Stephen Seo Date: Thu, 31 Aug 2023 13:19:21 +0000 (+0900) Subject: Attempt to fix wasm compile error X-Git-Url: https://git.seodisparate.com/stephenseo/js/darkmode.js?a=commitdiff_plain;h=b96f3e9f033902a7dbaad1d3b8d4506f1b69ed26;p=jumpartifact.com_demo_0 Attempt to fix wasm compile error extern game pointer needs initializer? --- diff --git a/src/main.cc b/src/main.cc index 9548455..6223118 100644 --- a/src/main.cc +++ b/src/main.cc @@ -16,7 +16,7 @@ #ifdef __EMSCRIPTEN__ -extern Game *global_game_ptr; +extern Game *global_game_ptr = nullptr; extern "C" {