mirror of
https://github.com/brl/mutter.git
synced 2025-01-26 03:18:56 +00:00
* 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:
parent
3a3712d924
commit
02ab70efc8
@ -707,6 +707,14 @@ typedef GLuint COGLuint;
|
|||||||
|
|
||||||
/* Extension function prototypes */
|
/* Extension function prototypes */
|
||||||
|
|
||||||
|
#ifndef APIENTRY
|
||||||
|
#define APIENTRY
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef APIENTRYP
|
||||||
|
#define APIENTRYP APIENTRY *
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void
|
typedef void
|
||||||
(APIENTRYP COGL_PFNGLGENRENDERBUFFERSEXTPROC)
|
(APIENTRYP COGL_PFNGLGENRENDERBUFFERSEXTPROC)
|
||||||
(GLsizei n,
|
(GLsizei n,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user