Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphics: Revive the special allocating method for vertices for Wasm
It looks like the allocation cost is pretty high even on Wasm. Revive the special method not only on GopherJS but also on Wasm. examples/sprites kept 30FPS without this fix, but keeps 35FPS with this fix, on Hajime's MacBook Pro 2020 (macOS Catalina 10.15.6). Updates hajimehoshi#797
- Loading branch information