Begin work on Event System for js_wasm32 target
This commit is contained in:
1 parent
253ecd55a0
commit
6f1cc3946b
7 files changed
+877
-253
No files matched your search
Vendored
+1
@@ -32,6 +32,7 @@ const runWasm = async (wasm_path, webglCanvasElement, consoleElement) => {
|
||||
const file = await response.arrayBuffer();
|
||||
const wasm = await WebAssembly.instantiate(file, imports);
|
||||
const exports = wasm.instance.exports;
|
||||
wasmMemoryInterface.setExports(exports);
|
||||
wasmMemoryInterface.setMemory(exports.memory);
|
||||
|
||||
exports._start();
|
||||
|
||||
Reference in new issue
Block a user