From e504a5883f70c4581aae2ae3c0b431a4f3c9e8c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Riku=20Palom=C3=A4ki?= Date: Wed, 19 Jan 2011 13:24:02 +0200 Subject: [PATCH] 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 --- auto/core/GL_VERSION_2_0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/core/GL_VERSION_2_0 b/auto/core/GL_VERSION_2_0 index b1b4599..2b65bd8 100644 --- a/auto/core/GL_VERSION_2_0 +++ b/auto/core/GL_VERSION_2_0 @@ -115,11 +115,11 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf void glGetVertexAttribdv (GLuint, GLenum, GLdouble*) void glGetVertexAttribfv (GLuint, GLenum, GLfloat*) void glGetVertexAttribiv (GLuint, GLenum, GLint*) - void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid*) + void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid**) GLboolean glIsProgram (GLuint program) GLboolean glIsShader (GLuint shader) 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 glUniform1f (GLint location, GLfloat v0) void glUniform1fv (GLint location, GLsizei count, const GLfloat* value)