# HG changeset patch # User Benjamin Golinvaux # Date 1558525771 -7200 # Node ID 556822c70742cd4267df4dc23b4120ffa512e1b6 # Parent 633bb89d4a6e84114e364869b0db2d8090402c45 Backfix of d5579bd: Fixed wasm viewport Redraw() to use wasmModule.HEAPU8.buffer instead of the deprecated wasmModule.buffer diff -r 633bb89d4a6e -r 556822c70742 Platforms/Wasm/wasm-viewport.ts --- a/Platforms/Wasm/wasm-viewport.ts Mon May 20 19:55:13 2019 +0200 +++ b/Platforms/Wasm/wasm-viewport.ts Wed May 22 13:49:31 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));