On 07/03/2008, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
First they are renamed:
#define glDeleteFramebuffersEXT __aglDeleteFramebuffersEXT
then in extensions.c, in an obfuscated macro they are defined:
/* Define the GL API pointers.
* Example:
* ALLEGRO_BlendEquation_t __aglBlendEquation = NULL;
*/
#define AGL_API(type, name, args) ALLEGRO_##name##_t __agl##name = NULL;
# include "allegro5/opengl/GLext/gl_ext_api.h"
#undef AGL_API
I'm wrong. This is how it is done for all platforms except macosx.