[osg-users] Call for feedback : glu.h does it contain _GLUfuncptr?

Michele Bosi michele.bosi at gmail.com
Mon Oct 1 09:37:53 PDT 2007


MESA 7.1:

/* Internal convenience typedefs */
typedef void (GLAPIENTRYP _GLUfuncptr)();
...
GLAPI void GLAPIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which,
_GLUfuncptr CallBackFunc);

MinGW w32api-3.10:

typedef void (APIENTRY *_GLUfuncptr)();
...
GLAPI void APIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which,
_GLUfuncptr CallBackFunc);

in MinGW gl.h (not glu.h) there is an interesting note:

 * 2002-Apr-15, Marcus Geelnard:
 *   Modified this file to better fit a wider range of compilers, removed
 *   Mesa specific stuff, and removed extension definitions (this file now
 *   relies on GL/glext.h). Hopefully this file should now function as a
 *   generic OpenGL gl.h include file for most compilers and environments.
 *   Changed GLAPIENTRY to APIENTRY (to be consistent with GL/glext.h).

cheers,
Michele



More information about the osg-users mailing list