From 5cc09d9389243791f8f65f96a4d19a74337f2a73 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 24 Jul 2024 20:20:57 +0200 Subject: add vec3 and vec4 and shader uniform functions for those --- src/gl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gl.c') diff --git a/src/gl.c b/src/gl.c index 90880c4..adc7c89 100644 --- a/src/gl.c +++ b/src/gl.c @@ -46,7 +46,6 @@ int mgl_gl_load(mgl_gl *self) { { (void**)&self->glTexSubImage2D, "glTexSubImage2D" }, { (void**)&self->glBindTexture, "glBindTexture" }, { (void**)&self->glTexParameteri, "glTexParameteri" }, - { (void**)&self->glHint, "glHint" }, { (void**)&self->glBegin, "glBegin" }, { (void**)&self->glEnd, "glEnd" }, { (void**)&self->glVertex3f, "glVertex3f" }, @@ -86,6 +85,8 @@ int mgl_gl_load(mgl_gl *self) { { (void**)&self->glGetUniformLocation, "glGetUniformLocation" }, { (void**)&self->glUniform1f, "glUniform1f" }, { (void**)&self->glUniform2f, "glUniform2f" }, + { (void**)&self->glUniform3f, "glUniform3f" }, + { (void**)&self->glUniform4f, "glUniform4f" }, { (void**)&self->glGetError, "glGetError" }, { (void**)&self->glGetString, "glGetString" }, { (void**)&self->glGetIntegerv, "glGetIntegerv" }, -- cgit v1.2.3