[Bf-blender-cvs] [87ebc4ef4f2] master: Fix T70060: Add bgl wrapper for glVertexAttribIPointer
Jacques Lucke
noreply at git.blender.org
Thu Sep 19 12:54:47 CEST 2019
Commit: 87ebc4ef4f2029a8f4fb21ea433c4ca189b243d5
Author: Jacques Lucke
Date: Thu Sep 19 12:53:48 2019 +0200
Branches: master
https://developer.blender.org/rB87ebc4ef4f2029a8f4fb21ea433c4ca189b243d5
Fix T70060: Add bgl wrapper for glVertexAttribIPointer
===================================================================
M source/blender/python/generic/bgl.c
===================================================================
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c
index 23be0d68fb0..1b6466dee68 100644
--- a/source/blender/python/generic/bgl.c
+++ b/source/blender/python/generic/bgl.c
@@ -1366,6 +1366,7 @@ BGL_Wrap(GenVertexArrays, void, (GLsizei, GLuintP));
BGL_Wrap(GetStringi, GLstring, (GLenum, GLuint));
BGL_Wrap(IsVertexArray, GLboolean, (GLuint));
BGL_Wrap(RenderbufferStorage, void, (GLenum, GLenum, GLsizei, GLsizei));
+BGL_Wrap(VertexAttribIPointer, void, (GLuint, GLint, GLenum, GLsizei, GLvoidP));
/* GL_VERSION_3_1 */
BGL_Wrap(BindBufferBase, void, (GLenum, GLuint, GLuint));
@@ -1709,6 +1710,7 @@ PyObject *BPyInit_bgl(void)
PY_MOD_ADD_METHOD(GetStringi);
PY_MOD_ADD_METHOD(IsVertexArray);
PY_MOD_ADD_METHOD(RenderbufferStorage);
+ PY_MOD_ADD_METHOD(VertexAttribIPointer);
}
/* GL_VERSION_3_1 */
More information about the Bf-blender-cvs
mailing list