summaryrefslogtreecommitdiff
path: root/src/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/shader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/shader.c b/src/opengl/shader.c
index d78b1ef..061b814 100644
--- a/src/opengl/shader.c
+++ b/src/opengl/shader.c
@@ -40,8 +40,8 @@ void setup_shader(lua_State *L, int gl_index)
H_FUNC("GetUniformLocation", gl_uniform_get_location),
H_FUNC("Uniform1i", gl_uniform_1i),
- H_FUNC("Uniform1f", gl_uniform_1i),
- H_FUNC("Uniform3f", gl_uniform_1i),
+ H_FUNC("Uniform1f", gl_uniform_1f),
+ H_FUNC("Uniform3f", gl_uniform_3f),
H_FUNC("Uniform4f", gl_uniform_4f),
H_FUNC("UniformMatrix4fv", gl_uniform_matrix_4fv),