egl: updated GL_APIENTRY for Windows
authorJonathan White <jwhite@tungstengraphics.com>
Mon, 7 Jul 2008 23:56:09 +0000 (17:56 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Jul 2008 23:57:02 +0000 (17:57 -0600)
include/GLES/glplatform.h
include/GLES2/gl2platform.h

index 543464b..dbbf2b9 100644 (file)
@@ -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
index 7c3a22e..348daea 100644 (file)
@@ -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
 }