From 1b8d52fef6466574be3f9d87c85d31942b21bd43 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 21 Jan 2015 22:34:53 +0000 Subject: specs: Tweak glGetProgramBinary spec. --- specs/glapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'specs/glapi.py') 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")]), -- cgit v1.2.3