From: José Fonseca Date: Mon, 16 May 2011 08:33:50 +0000 (+0100) Subject: Remap buffer handles in glBindBuffer* X-Git-Tag: 2.0_alpha^2~906 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f69ccef7c8e9d888463cff5aa67c840213721d7b;p=tools%2Fapitrace.git Remap buffer handles in glBindBuffer* --- diff --git a/glapi.py b/glapi.py index d925caf..addada7 100644 --- a/glapi.py +++ b/glapi.py @@ -666,8 +666,8 @@ glapi.add_functions([ GlFunction(GLboolean, "glIsEnabledi", [(GLenum, "target"), (GLuint, "index")], sideeffects=False), GlFunction(Void, "glBeginTransformFeedback", [(GLenum, "primitiveMode")]), GlFunction(Void, "glEndTransformFeedback", []), - GlFunction(Void, "glBindBufferRange", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size")]), - GlFunction(Void, "glBindBufferBase", [(GLenum, "target"), (GLuint, "index"), (GLuint, "buffer")]), + GlFunction(Void, "glBindBufferRange", [(GLenum, "target"), (GLuint, "index"), (GLbuffer, "buffer"), (GLintptr, "offset"), (GLsizeiptr, "size")]), + GlFunction(Void, "glBindBufferBase", [(GLenum, "target"), (GLuint, "index"), (GLbuffer, "buffer")]), GlFunction(Void, "glTransformFeedbackVaryings", [(GLprogram, "program"), (GLsizei, "count"), (Const(Array(Const(GLstring), "count")), "varyings"), (GLenum, "bufferMode")]), GlFunction(Void, "glGetTransformFeedbackVarying", [(GLprogram, "program"), (GLuint, "index"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(Pointer(GLsizei), "size"), Out(Pointer(GLenum), "type"), Out(GLstring, "name")], sideeffects=False), GlFunction(Void, "glClampColor", [(GLenum, "target"), (GLenum, "clamp")]),