diff options
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh.c b/src/mesh/mesh.c index 8e7e444..9c045ec 100644 --- a/src/mesh/mesh.c +++ b/src/mesh/mesh.c @@ -90,7 +90,7 @@ honey_result honey_mesh_new(honey_mesh* mesh, /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ void honey_mesh_draw(honey_mesh mesh, int shader) { - honey_shader_use(shader); + glUseProgram(shader); glBindVertexArray(mesh.vertex_array); glDrawElements(GL_TRIANGLES, mesh.n_indices, GL_UNSIGNED_INT, 0); |