From 02ab70efc8f08498566efb778b8fd65927c74465 Mon Sep 17 00:00:00 2001 From: Ivan Leben Date: Tue, 13 May 2008 04:56:06 +0000 Subject: [PATCH] * clutter/cogl/gl/cogl-defines.h.in: Fix GL function prototypes on OS X by #definining APIENTRY and APIENTRYP if missing. --- gl/cogl-defines.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gl/cogl-defines.h.in b/gl/cogl-defines.h.in index 7b29b937b..487467752 100644 --- a/gl/cogl-defines.h.in +++ b/gl/cogl-defines.h.in @@ -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,