summaryrefslogtreecommitdiff
path: root/specs/glapi.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-01-21 22:34:53 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-01-21 22:34:53 +0000
commit1b8d52fef6466574be3f9d87c85d31942b21bd43 (patch)
tree0547f722dbe01fb39e86db49df5877358553a0dc /specs/glapi.py
parent610b8cc5297fc03047ab46b8a85aceb54ef30dfb (diff)
specs: Tweak glGetProgramBinary spec.
Diffstat (limited to 'specs/glapi.py')
-rw-r--r--specs/glapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/glapi.py b/specs/glapi.py
index fbd9ef93..1663d74f 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -1143,7 +1143,7 @@ glapi.addFunctions([
GlFunction(Void, "glFramebufferTextureFaceARB", [(GLenum, "target"), (GLenum, "attachment"), (GLtexture, "texture"), (GLint, "level"), (GLenum, "face")]),
# GL_ARB_get_program_binary
- GlFunction(Void, "glGetProgramBinary", [(GLprogram, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLenum), "binaryFormat"), Out(OpaqueArray(GLvoid, "_glGetProgramBinary_size(length)"), "binary")], sideeffects=False),
+ GlFunction(Void, "glGetProgramBinary", [(GLprogram, "program"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLenum), "binaryFormat"), Out(OpaqueBlob(GLvoid, "length ? *length : bufSize"), "binary")], sideeffects=False),
GlFunction(Void, "glProgramBinary", [(GLprogram, "program"), (GLenum, "binaryFormat"), (Blob(Const(GLvoid), "length"), "binary"), (GLsizei, "length")]),
GlFunction(Void, "glProgramParameteri", [(GLprogram, "program"), (GLenum, "pname"), (GLint, "value")]),