* clutter/cogl/gl/cogl-defines.h.in:

Fix GL function prototypes on OS X by #definining APIENTRY and
	APIENTRYP if missing.
This commit is contained in:
Ivan Leben 2008-05-13 04:56:06 +00:00
parent 75b829f930
commit 54e2fd14ae
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-05-13 Ivan Leben <ivan.leben@o-hand.com>
* clutter/cogl/gl/cogl-defines.h.in:
Fix GL function prototypes on OS X by #definining APIENTRY and
APIENTRYP if missing.
2008-05-12 Ivan Leben <ivan.leben@o-hand.com>
* clutter/cogl/gl/cogl-defines.h.in:

View File

@ -707,6 +707,14 @@ typedef GLuint COGLuint;
/* Extension function prototypes */
#ifndef APIENTRY
#define APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
typedef void
(APIENTRYP COGL_PFNGLGENRENDERBUFFERSEXTPROC)
(GLsizei n,