>I believe Ted Jump changed APIENTRY to GLAPIENTRY.  Ted, why was
>that done?

Since each DLL component of the mesa package (Mesa itself "as" OpenGL32.DLL,
GLU32.DLL and GLUT32.DLL) need to have their and-only-their functions marked as
__declspec(dllexport) when building the respective DLL.

Otherwise if gl.h, glu.h, and glut.h all used APIENTRY simultaneously then when
(for example) building glu or glut the compiler would attempt to export the gl
functions from glu32.dll also. ;^(

Using a unique export tag for each library solves this, and GLAPIENTRY, etc.,
actually resolve to the same thing that APIENTRY resolves to.

-Ted


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to