diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-10 22:30:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-10 22:30:02 +0300 |
commit | a10d89a8cb317d9148f2008d8a4b7d4c9af8c4a2 (patch) | |
tree | 56d9cf21a03a29ccfff0f7d5e9d1ad42790a6290 /src/render/mgltypes.h | |
parent | 01e2d489c4346d6d3862023f3da40f809da45fe6 (diff) | |
download | plus-a10d89a8cb317d9148f2008d8a4b7d4c9af8c4a2.tar.gz plus-a10d89a8cb317d9148f2008d8a4b7d4c9af8c4a2.tar.bz2 plus-a10d89a8cb317d9148f2008d8a4b7d4c9af8c4a2.tar.xz plus-a10d89a8cb317d9148f2008d8a4b7d4c9af8c4a2.zip |
Add some vertex OpenGL functions.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r-- | src/render/mgltypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h index b4b300a96..690255541 100644 --- a/src/render/mgltypes.h +++ b/src/render/mgltypes.h @@ -131,6 +131,12 @@ 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); +typedef void (APIENTRY *glBindVertexBuffer_t) (GLuint bindingindex, + GLuint buffer, GLintptr offset, GLintptr stride); +typedef void (APIENTRY *glVertexAttribBinding_t) (GLuint attribindex, + GLuint bindingindex); +typedef void (APIENTRY *glVertexAttribFormat_t) (GLuint attribindex, + GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, |