From 5fe11c65354fe22eb1329fc6ba176fd70879c3b9 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Sat, 28 Dec 2024 20:30:38 +1300 Subject: [PATCH] Fix a bug in the HTML renderer --- examples/clay-official-website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clay-official-website/index.html b/examples/clay-official-website/index.html index d4764c4..ad87248 100644 --- a/examples/clay-official-website/index.html +++ b/examples/clay-official-website/index.html @@ -338,7 +338,7 @@ memoryDataView = new DataView(new Uint8Array(instance.exports.memory.buffer).buffer); scratchSpaceAddress = instance.exports.__heap_base.value; heapSpaceAddress = instance.exports.__heap_base.value + 1024; - let arenaAddress = scratchSpaceAddress; + let arenaAddress = scratchSpaceAddress + 8; window.instance = instance; createMainArena(arenaAddress, heapSpaceAddress); memoryDataView.setFloat32(instance.exports.__heap_base.value, window.innerWidth, true);