Add some more defines that are present in normal gl.h

macos/v1.5.9
Eric Anholt 11 years ago
parent 26ca6ac8e8
commit 08101c5145
  1. 9
      include/epoxy/gl.h

@ -54,6 +54,7 @@ extern "C" {
/* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */ /* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */
#define APIENTRY #define APIENTRY
#define GLAPIENTRY #define GLAPIENTRY
#define GLAPI
#else #else
#ifndef APIENTRY #ifndef APIENTRY
#define APIENTRY __stdcall #define APIENTRY __stdcall
@ -68,6 +69,14 @@ extern "C" {
#endif #endif
#endif /* _WIN32 */ #endif /* _WIN32 */
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *
#endif
#include "epoxy/gl_generated.h" #include "epoxy/gl_generated.h"
#include "epoxy/gl_generated_vtable_defines.h" #include "epoxy/gl_generated_vtable_defines.h"

Loading…
Cancel
Save