# HG changeset patch # User Benjamin Golinvaux # Date 1555510422 -7200 # Node ID d5579bdc59b50930e671b4b5b4a8ffeeccbe53de # Parent 841ab71cd91f9acc4fd599e3091b0d82ba3aae10 Fixed wasm viewport Redraw() to use wasmModule.HEAPU8.buffer instead of the deprecated wasmModule.buffer diff -r 841ab71cd91f -r d5579bdc59b5 Platforms/Wasm/wasm-viewport.ts --- a/Platforms/Wasm/wasm-viewport.ts Wed Apr 03 17:39:17 2019 +0200 +++ b/Platforms/Wasm/wasm-viewport.ts Wed Apr 17 16:13:42 2019 +0200 @@ -131,7 +131,7 @@ // "window" above the heap of the WASM module), then copy it to // the ImageData object this.imageData_.data.set(new Uint8ClampedArray( - this.module_.buffer, + this.module_.HEAPU8.buffer, this.renderingBuffer_, this.imageData_.width * this.imageData_.height * 4));