From 08101c514539f36c80289f17221e8acab5cf2634 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 6 Dec 2013 11:38:22 -0800 Subject: [PATCH] Add some more defines that are present in normal gl.h --- include/epoxy/gl.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h index 3eae4b6..593272b 100644 --- a/include/epoxy/gl.h +++ b/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"