charles-l / zig-odin-raylib-template

A zig-build powered odin template for building games with raylib that compiles to a native exe or an emscripten app.
MIT License
14 stars 2 forks source link

`fmt` calls seem to be causing some kind of memory corruption in WASM #2

Open charles-l opened 5 months ago

charles-l commented 5 months ago

I don't understand why but fmt calls that call into fmt.fmt_value are causing some kind of memory corruption in WASM that manifests as bungled draw calls (the boxes should not be drawn in wireframe): image

Currently I'm just not using any fmt calls but this is somewhat inconvenient for string manipulation.