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 543464ba6fb3efafe61f2ec364a8fcc3d6cf7c87..dbbf2b91949efa0ddd500ce5af418e7c0539ee4c 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 7c3a22e43e44150f260e116644a5a043cce71db8..348daea7656b6c006ca9fd0520dd0c0c7a7c1ef8 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
 }