Fixed glGetVertexAttribPointerv and glGetShaderSource parameters.

* glGetVertexAttribPointerv takes void**, not void*
* glGetShaderSource uses uint instead of int as a shader parameter

Signed-off-by: Nigel Stewart <nigels@sourceforge.net>
This commit is contained in:
Riku Palomäki 2011-01-19 13:24:02 +02:00 committed by Nigel Stewart
parent a23e5e5d6d
commit e504a5883f

View File

@ -115,11 +115,11 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
void glGetVertexAttribdv (GLuint, GLenum, GLdouble*) void glGetVertexAttribdv (GLuint, GLenum, GLdouble*)
void glGetVertexAttribfv (GLuint, GLenum, GLfloat*) void glGetVertexAttribfv (GLuint, GLenum, GLfloat*)
void glGetVertexAttribiv (GLuint, GLenum, GLint*) void glGetVertexAttribiv (GLuint, GLenum, GLint*)
void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid*) void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid**)
GLboolean glIsProgram (GLuint program) GLboolean glIsProgram (GLuint program)
GLboolean glIsShader (GLuint shader) GLboolean glIsShader (GLuint shader)
void glLinkProgram (GLuint program) void glLinkProgram (GLuint program)
void glGetShaderSource (GLint obj, GLsizei maxLength, GLsizei* length, GLchar* source) void glGetShaderSource (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source)
void glUseProgram (GLuint program) void glUseProgram (GLuint program)
void glUniform1f (GLint location, GLfloat v0) void glUniform1f (GLint location, GLfloat v0)
void glUniform1fv (GLint location, GLsizei count, const GLfloat* value) void glUniform1fv (GLint location, GLsizei count, const GLfloat* value)