aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-11-07 17:42:28 +0100
committerGitHub <noreply@github.com>2024-11-07 17:42:28 +0100
commiteed75175c077f83893786d27bd9b24567c0d79b5 (patch)
tree8c83e13c128c39748e1aef09839aa0b91e1a7c30 /README.md
parent76ded2def8d9914c1c7e1e6e7bdd8970c7b6e7c4 (diff)
parent71d744d5c4c6fe8b14a3af490525a07758fe8967 (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.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4c456797..c0d16fe5 100644
--- a/README.md
+++ b/README.md
@@ -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
[![Build](/../../actions/workflows/main.yml/badge.svg)](/../../actions/workflows/main.yml) [![Bindings](/../../actions/workflows/gen_bindings.yml/badge.svg)](/../../actions/workflows/gen_bindings.yml) [![build](https://github.com/floooh/sokol-zig/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [![build](https://github.com/floooh/sokol-nim/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-nim/actions/workflows/main.yml) [![Odin](https://github.com/floooh/sokol-odin/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)[![Rust](https://github.com/floooh/sokol-rust/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)[![Dlang](https://github.com/kassane/sokol-d/actions/workflows/build.yml/badge.svg)](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
}
},
});