Skip to content

Commit

Permalink
Fix a bug in the HTML renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbarker committed Dec 28, 2024
1 parent ac473d6 commit 5fe11c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/clay-official-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5fe11c6

Please sign in to comment.