summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-10 18:43:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-10 18:43:08 +0300
commit9753fa87b8d1e396e8dfa74a845556ce2b000267 (patch)
tree67f6c38dfe63b3e582d33a71a93798611b6abca0 /src/render/mgltypes.h
parent6ccc6e73a226c40c2f3538f6d6126bb2774edd52 (diff)
downloadmanaplus-9753fa87b8d1e396e8dfa74a845556ce2b000267.tar.gz
manaplus-9753fa87b8d1e396e8dfa74a845556ce2b000267.tar.bz2
manaplus-9753fa87b8d1e396e8dfa74a845556ce2b000267.tar.xz
manaplus-9753fa87b8d1e396e8dfa74a845556ce2b000267.zip
Add OpenGL functions glProgramUniformXf.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r--src/render/mgltypes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 321739845..b4b300a96 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -123,6 +123,14 @@ typedef void (APIENTRY *glUniform4f_t) (GLint location,
typedef GLenum (APIENTRY *glCheckFramebufferStatus_t) (GLenum target);
typedef void (APIENTRY *glGetProgramInfoLog_t) (GLuint program,
GLsizei maxLength, GLsizei *length, GLchar *infoLog);
+typedef void (APIENTRY *glProgramUniform1f_t) (GLuint program,
+ GLint location, GLfloat v0);
+typedef void (APIENTRY *glProgramUniform2f_t) (GLuint program,
+ GLint location, GLfloat v0, GLfloat v1);
+typedef void (APIENTRY *glProgramUniform3f_t) (GLuint program,
+ GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+typedef void (APIENTRY *glProgramUniform4f_t) (GLuint program,
+ GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,