summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan White <[email protected]>2008-07-07 17:56:09 -0600
committerBrian Paul <[email protected]>2008-07-07 17:57:02 -0600
commitf4caddd66f46f69ee34b1790ef1c2f549b186d2f (patch)
treeb707f170ae540874ab3d4bfc0b086cceaa7e04dd
parent6701ecb3bae4bb34d14d0740a4da9481dd9f7704 (diff)
egl: updated GL_APIENTRY for Windows
-rw-r--r--include/GLES/glplatform.h3
-rw-r--r--include/GLES2/gl2platform.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h
index 543464ba6fb..dbbf2b91949 100644
--- a/include/GLES/glplatform.h
+++ b/include/GLES/glplatform.h
@@ -51,15 +51,16 @@ extern "C" {
# else
# define GL_API __declspec(dllimport)
# endif
+# define GL_APIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_API
# else
# define GL_API extern
# endif
+# define GL_APIENTRY
#endif
-#define GL_APIENTRY
#ifndef APIENTRY
# define APIENTRY GL_APIENTRY
diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h
index 7c3a22e43e4..348daea7656 100644
--- a/include/GLES2/gl2platform.h
+++ b/include/GLES2/gl2platform.h
@@ -51,15 +51,16 @@ extern "C" {
# else
# define GL_APICALL __declspec(dllimport)
# endif
+# define GL_APIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_APICALL
# else
# define GL_APICALL extern
# endif
+# define GL_APIENTRY
#endif
-#define GL_APIENTRY
#ifdef __cplusplus
}