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. */
#define APIENTRY
#define GLAPIENTRY
#define GLAPI
#else
#ifndef APIENTRY
#define APIENTRY __stdcall
@ -68,6 +69,14 @@ extern "C" {
#endif
#endif /* _WIN32 */
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
#endif
#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *
#endif
#include "epoxy/gl_generated.h"
#include "epoxy/gl_generated_vtable_defines.h"

Loading…
Cancel
Save