summaryrefslogtreecommitdiff
path: root/src/render/mgltypes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-14 13:12:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-14 15:24:55 +0300
commitd83cfbeab41795b80444b960b0b604f430d56337 (patch)
treef52b25a4878416a3bd8e68906d2692dad217c91e /src/render/mgltypes.h
parent74b3c95070d60a19450b04780a99f4fb7a6fb2f8 (diff)
downloadplus-d83cfbeab41795b80444b960b0b604f430d56337.tar.gz
plus-d83cfbeab41795b80444b960b0b604f430d56337.tar.bz2
plus-d83cfbeab41795b80444b960b0b604f430d56337.tar.xz
plus-d83cfbeab41795b80444b960b0b604f430d56337.zip
Switch modernopengl from float into int buffers.
Diffstat (limited to 'src/render/mgltypes.h')
-rw-r--r--src/render/mgltypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/mgltypes.h b/src/render/mgltypes.h
index f4d23990f..df9c16eee 100644
--- a/src/render/mgltypes.h
+++ b/src/render/mgltypes.h
@@ -140,6 +140,8 @@ typedef void (APIENTRY *glVertexAttribFormat_t) (GLuint attribindex,
typedef void (APIENTRY *glBindVertexBuffers_t) (GLuint first, GLsizei count,
const GLuint *buffers, const GLuint *offsets, const GLsizei *strides);
typedef GLboolean (APIENTRY *glIsBuffer_t) (GLuint buffer);
+typedef void (APIENTRY *glVertexAttribIFormat_t) (GLuint attribindex,
+ GLint size, GLenum type, GLuint relativeoffset);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,