diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-11-07 17:42:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 17:42:28 +0100 |
| commit | eed75175c077f83893786d27bd9b24567c0d79b5 (patch) | |
| tree | 8c83e13c128c39748e1aef09839aa0b91e1a7c30 /README.md | |
| parent | 76ded2def8d9914c1c7e1e6e7bdd8970c7b6e7c4 (diff) | |
| parent | 71d744d5c4c6fe8b14a3af490525a07758fe8967 (diff) | |
Merge pull request #1111 from floooh/issue1037_bindings_cleanupbindings-cleanup
sokol_gfx.h resource bindings cleanup (issue #1037)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ # Sokol -[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**17-Sep-2024** sokol_app.h: clipboard support for Linux) +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**07-Nov-2024** sokol_gfx.h: the 'bindings cleanup' update [](/../../actions/workflows/main.yml) [](/../../actions/workflows/gen_bindings.yml) [](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)[](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)[](https://github.com/kassane/sokol-d/actions/workflows/build.yml) @@ -155,8 +155,8 @@ static void init(void) { .shader = sg_make_shader(triangle_shader_desc(sg_query_backend())), .layout = { .attrs = { - [ATTR_vs_position].format = SG_VERTEXFORMAT_FLOAT3, - [ATTR_vs_color0].format = SG_VERTEXFORMAT_FLOAT4 + [ATTR_triangle_position].format = SG_VERTEXFORMAT_FLOAT3, + [ATTR_triangle_color0].format = SG_VERTEXFORMAT_FLOAT4 } }, }); |