From 5379b4214696e64902c5e10b3d4ef3d503fddcc4 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Thu, 21 May 2020 10:23:34 -0500 Subject: refactor: rename honey_shader_set_matrix_4vf to honey_shader_set_mat4 --- src/shader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/shader.c b/src/shader.c index 207ce30..b9e13da 100644 --- a/src/shader.c +++ b/src/shader.c @@ -99,9 +99,9 @@ void honey_shader_set_int(honey_shader shader, /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -void honey_shader_set_matrix_4fv(honey_shader shader, - char* matrix_name, - float* matrix) { +void honey_shader_set_mat4(honey_shader shader, + char* matrix_name, + float* matrix) { glUseProgram(shader); unsigned int matrix_location = glGetUniformLocation(shader, matrix_name); glUniformMatrix4fv(matrix_location, 1, GL_FALSE, matrix); -- cgit v1.2.1