summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 23:04:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-09 11:42:32 +0300
commit49aba83fa6f3393214919166c42fb55c5a9a7796 (patch)
treecfdb4484e6165e97bafdd44956a8c8bfd08f0650 /src/render/mgltypes.h
parent7a0ce777e5d7e3c5ba562ea1c811c0c3cb17a976 (diff)
downloadplus-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.gz
plus-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.bz2
plus-49aba83fa6f3393214919166c42fb55c5a9a7796.tar.xz
plus-49aba83fa6f3393214919166c42fb55c5a9a7796.zip
Add basic shaders in modernopengl.
Add draw/fill rectangle functions.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r--src/render/mgltypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index 7e56941a9..321739845 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -101,7 +101,7 @@ typedef void (APIENTRY *glAttachShader_t) (GLuint program, GLuint shader);
typedef void (APIENTRY *glDetachShader_t) (GLuint program, GLuint shader);
typedef void (APIENTRY *glGetAttachedShaders_t) (GLuint program,
GLsizei maxCount, GLsizei *count, GLuint *shaders);
-typedef void (APIENTRY *glGetUniformLocation_t) (GLuint program,
+typedef GLint (APIENTRY *glGetUniformLocation_t) (GLuint program,
const GLchar *name);
typedef void (APIENTRY *glGetActiveUniform_t) (GLuint program, GLuint index,
GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);