There are a couple of wrong types at the function parameters. I validated them being wrong by checking the OpenGL 4.4 Specs(registry -> gl.xml).
I attached an svn diff.
Thanks for the patch.
This patch is missing a fix to GLDEBUGPROC and GLDEBUGPROCARB. The userParam argument is a const void pointer.
Fixed GLDEBUGPROC and GLDEBUGPROCARB...
$ egrep GLDEBUGPROC[^A] include/GL/ include/GL/glew.h:typedef void (APIENTRY GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar message, const void userParam); include/GL/glew.h:typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
$ grep GLDEBUGPROCARB include/GL/ include/GL/glew.h:typedef void (APIENTRY GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar message, const void userParam); include/GL/glew.h:typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
Patch applied to git master branch.
Thanks for the patch.
This patch is missing a fix to GLDEBUGPROC and GLDEBUGPROCARB. The userParam argument is a const void pointer.
Fixed GLDEBUGPROC and GLDEBUGPROCARB...
$ egrep GLDEBUGPROC[^A] include/GL/
include/GL/glew.h:typedef void (APIENTRY GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar message, const void userParam);
include/GL/glew.h:typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
$ grep GLDEBUGPROCARB include/GL/
include/GL/glew.h:typedef void (APIENTRY GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar message, const void userParam);
include/GL/glew.h:typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
Patch applied to git master branch.