Binding for DeleteVertexArray
This commit is contained in:
parent
277c46908d
commit
ee3c3e4cb4
@ -622,6 +622,14 @@ DeleteBuffer(PyObject UNUSED *self, PyObject *val) {
|
|||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static PyObject*
|
||||||
|
DeleteVertexArray(PyObject UNUSED *self, PyObject *val) {
|
||||||
|
GLuint tex_id = (GLuint)PyLong_AsUnsignedLong(val);
|
||||||
|
glDeleteVertexArrays(1, &tex_id);
|
||||||
|
CHECK_ERROR;
|
||||||
|
Py_RETURN_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
BlendFunc(PyObject UNUSED *self, PyObject *args) {
|
BlendFunc(PyObject UNUSED *self, PyObject *args) {
|
||||||
int s, d;
|
int s, d;
|
||||||
@ -764,6 +772,7 @@ int add_module_gl_constants(PyObject *module) {
|
|||||||
METH(CompileShader, METH_O) \
|
METH(CompileShader, METH_O) \
|
||||||
METH(DeleteTexture, METH_O) \
|
METH(DeleteTexture, METH_O) \
|
||||||
METH(DeleteBuffer, METH_O) \
|
METH(DeleteBuffer, METH_O) \
|
||||||
|
METH(DeleteVertexArray, METH_O) \
|
||||||
METH(GetString, METH_O) \
|
METH(GetString, METH_O) \
|
||||||
METH(GetIntegerv, METH_O) \
|
METH(GetIntegerv, METH_O) \
|
||||||
METH(Clear, METH_O) \
|
METH(Clear, METH_O) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user