diff options
| author | LLLL Colonq <llll@colonq> | 2025-01-21 15:27:55 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-01-21 15:27:55 -0500 |
| commit | 47fe18171569582d1af9401013c57045b59f3774 (patch) | |
| tree | b3dbfa96c90e6a36ac74b1f0e4ef1b8705a46470 /src/shader.rs | |
| parent | fdafae3cdcb03a8b7fa736039556bcc465a34959 (diff) | |
Fix font rendering
Diffstat (limited to 'src/shader.rs')
| -rw-r--r-- | src/shader.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader.rs b/src/shader.rs index cbaf3ee..408380d 100644 --- a/src/shader.rs +++ b/src/shader.rs @@ -46,6 +46,9 @@ impl Shader { ctx.gl.bind_attrib_location(program, mesh::ATTRIB_VERTEX, "vertex"); ctx.gl.bind_attrib_location(program, mesh::ATTRIB_NORMAL, "normal"); ctx.gl.bind_attrib_location(program, mesh::ATTRIB_TEXCOORD, "texcoord"); + ctx.gl.bind_attrib_location(program, mesh::ATTRIB_JOINT, "joint"); + ctx.gl.bind_attrib_location(program, mesh::ATTRIB_WEIGHT, "weight"); + ctx.gl.bind_attrib_location(program, mesh::ATTRIB_COLOR, "color"); ctx.gl.link_program(program); if !ctx.gl.get_program_link_status(program) { |
