floooh / sokol-tools

Command line tools for use with sokol headers
MIT License
229 stars 57 forks source link

Add a comma at the end of a storage buffer struct definition for odin generator #132

Closed cr1sth0fer closed 4 months ago

cr1sth0fer commented 4 months ago

Since its simple, dont need a PR for it. Just need add a comma on this line l_close("}},\n"); to make odin compiler happy when using -strict-style and -vet flags

floooh commented 4 months ago

Ah thanks, that was an oversight (it's correct in the similar gen_uniform_block_decl() function.

The binaries in sokol-tools-bin will be uptodate when this CI pipeline goes green: https://github.com/floooh/sokol-tools/actions/runs/9646033758