diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-05 21:38:20 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-05 21:38:20 +0100 |
commit | e2e7c0bf0747d55967c4be6374f3611cd96babb6 (patch) | |
tree | 7267f2086526ac780f57998ff93bae72266e8ddb /include/mgl/gl.h | |
parent | ccb3e58071b3e807109918184727b305df8b96a0 (diff) |
Add bounds calculation to text
Diffstat (limited to 'include/mgl/gl.h')
-rw-r--r-- | include/mgl/gl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgl/gl.h b/include/mgl/gl.h index 1d19339..fc3ad3c 100644 --- a/include/mgl/gl.h +++ b/include/mgl/gl.h @@ -65,7 +65,8 @@ typedef struct { void (*glUseProgram)(unsigned int program); void (*glAttachShader)(unsigned int program, unsigned int shader); int (*glGetUniformLocation)(unsigned int program, const char *name); - void (*glUniform2fv)(int location, int count, const float *value); + void (*glUniform1f)(int location, float v0); + void (*glUniform2f)(int location, float v0, float v1); unsigned int (*glGetError)(void); const unsigned char* (*glGetString)(unsigned int name); |