diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-10 16:01:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-10 16:01:10 +0300 |
commit | 3881abdfade04f992208296491498f0736e5ac81 (patch) | |
tree | dde266eef149c7201f5a039eb3e452612e510a51 /src/render | |
parent | 740b10240414ae3b7c37ee21fd131ffdb296b2b9 (diff) | |
download | manaverse-3881abdfade04f992208296491498f0736e5ac81.tar.gz manaverse-3881abdfade04f992208296491498f0736e5ac81.tar.bz2 manaverse-3881abdfade04f992208296491498f0736e5ac81.tar.xz manaverse-3881abdfade04f992208296491498f0736e5ac81.zip |
Add pointer to OpenGL function glBindAttribLocation.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mgl.hpp | 2 | ||||
-rw-r--r-- | src/render/mgltypes.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/render/mgl.hpp b/src/render/mgl.hpp index c97dcfe59..47ad276d3 100644 --- a/src/render/mgl.hpp +++ b/src/render/mgl.hpp @@ -102,7 +102,7 @@ defName(glGetQueryObjectui64v); defName(glTextureSubImage2D); defName(glClearTexImage); defName(glClearTexSubImage); - +defName(glBindAttribLocation); #ifdef WIN32 defName(wglGetExtensionsString); #endif diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h index 5d033abf3..6b55f4430 100644 --- a/src/render/mgltypes.h +++ b/src/render/mgltypes.h @@ -185,6 +185,8 @@ typedef void (APIENTRY *glClearTexImage_t) (GLuint texture, GLint level, typedef void (APIENTRY *glClearTexSubImage_t) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); +typedef void (APIENTRY *glBindAttribLocation_t) (GLuint program, + GLuint index, const GLchar *name); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, |