From: Brendan Hansen Date: Wed, 28 Apr 2021 20:35:50 +0000 (-0500) Subject: updated to new onyx syntax for exports X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=09e6c3125f251aca6007c60a5951a3af9f1dbc77;p=sand-toy.git updated to new onyx syntax for exports --- diff --git a/site/sand_toy.wasm b/site/sand_toy.wasm index ceff70b..98b2ec3 100644 Binary files a/site/sand_toy.wasm and b/site/sand_toy.wasm differ diff --git a/src/sand_toy.onyx b/src/sand_toy.onyx index 10deb91..3455a50 100644 --- a/src/sand_toy.onyx +++ b/src/sand_toy.onyx @@ -115,7 +115,7 @@ draw :: () { gl.bindTexture(gl.TEXTURE_2D, -1); } -loop :: () -> void #export { +#export "loop" () { poll_events(); update();