Error in the GL/glext.h of declaration of the function glVertexAttribPointer
Hello,
I'm using the version 1.4.0 from gentoo and the GL/glext.h file installed by libglvnd seems to have an error for the signature of the function glVertexAttribPointer.
the signature in the file is:
typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
But if I check the documentation [1] the function has a GLBolean between type and stride as follow:
typedef void (APIENTRYP XPFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
I triggered the issue using glext.h as reference header and binding manually the function. I figured the issue using renderdoc and checking the call of this function and see unexpected call data. In my code if I use the second signature my code work fine but if I use the first one my code does not work correctly but do not crash.
Best regards.
[1] https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glVertexAttribPointer.xhtml