From: Jason M. <ko...@gm...> - 2008-09-27 05:16:36
|
Yes, those are different. I am generating my code based on the .spec and .tm files. For glGetAttribLocation, the second parameter is defined as a "Char" in the .spec file, which the .tm file says maps to a "GLchar". I don't know where glext.h is getting that "const" from. Orhun Birsoy wrote: > There are some function signature differences between glext.h (from > khronos) and gle_func_3_0.h, mostly functions that have const > parameters. > > For example > > glext.h > typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, > const GLchar *name); > > gle_func_3_0.h > typedef GLint (GLE_FUNCPTR * PFNGLGETATTRIBLOCATIONPROC)(GLuint > program, GLchar *name); > > |