summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2016-06-06 15:39:33 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-06-07 14:19:27 +0100
commit258154b116f6554a3bdca5b0fbbf1d6bac8c9eb2 (patch)
tree20fce8a9bbf3b531f18c3f47bfdf6303bac9d542 /specs
parent2d78bef000ebcca662ce074ee20257d3b7337be9 (diff)
specs: Fix glGen/DeleteBuffers buffers param name.
Diffstat (limited to 'specs')
-rw-r--r--specs/glapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/specs/glapi.py b/specs/glapi.py
index 08df5623..6c6feebf 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -556,8 +556,8 @@ glapi.addFunctions([
GlFunction(Void, "glGetQueryObjectiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLint, "_gl_param_size(pname)"), "params")]),
GlFunction(Void, "glGetQueryObjectuiv", [(GLquery, "id"), (GLenum, "pname"), Out(Array(GLuint, "_gl_param_size(pname)"), "params")]),
GlFunction(Void, "glBindBuffer", [(GLenum, "target"), (GLbuffer, "buffer")]),
- GlFunction(Void, "glDeleteBuffers", [(GLsizei, "n"), (Array(Const(GLbuffer), "n"), "buffer")]),
- GlFunction(Void, "glGenBuffers", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffer")]),
+ GlFunction(Void, "glDeleteBuffers", [(GLsizei, "n"), (Array(Const(GLbuffer), "n"), "buffers")]),
+ GlFunction(Void, "glGenBuffers", [(GLsizei, "n"), Out(Array(GLbuffer, "n"), "buffers")]),
GlFunction(GLboolean, "glIsBuffer", [(GLbuffer, "buffer")], sideeffects=False),
GlFunction(Void, "glBufferData", [(GLenum, "target"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data"), (GLenum, "usage")]),
GlFunction(Void, "glBufferSubData", [(GLenum, "target"), (GLintptr, "offset"), (GLsizeiptr, "size"), (Blob(Const(GLvoid), "size"), "data")]),