comparison 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
comparison
equal deleted inserted replaced
557:0f2af7552462 558:94725968dabb
153 void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) 153 void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
154 void glBindRenderbuffer(GLenum target, GLuint renderbuffer) 154 void glBindRenderbuffer(GLenum target, GLuint renderbuffer)
155 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) 155 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
156 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) 156 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
157 GLenum glCheckFramebufferStatus(GLenum target) 157 GLenum glCheckFramebufferStatus(GLenum target)
158
159 void glGenVertexArrays(GLsizei n, GLuint *arrays)
160 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
161 void glBindVertexArray(GLuint array)