Mercurial > touhou
diff pytouhou/lib/opengl.pxd @ 558:94725968dabb
Use vertex array objects, to be compatible with OpenGL 3.1+ core profile.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 12 Dec 2013 13:47:17 +0100 |
parents | 98380e4a0ee5 |
children | 1be60813f7cb |
line wrap: on
line diff
--- a/pytouhou/lib/opengl.pxd +++ b/pytouhou/lib/opengl.pxd @@ -155,3 +155,7 @@ cdef extern from 'epoxy/gl.h' nogil: void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) GLenum glCheckFramebufferStatus(GLenum target) + + void glGenVertexArrays(GLsizei n, GLuint *arrays) + void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) + void glBindVertexArray(GLuint array)