From 47fe18171569582d1af9401013c57045b59f3774 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 21 Jan 2025 15:27:55 -0500 Subject: Fix font rendering --- src/shader.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shader.rs') 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) { -- cgit v1.2.3