From f4caddd66f46f69ee34b1790ef1c2f549b186d2f Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Mon, 7 Jul 2008 17:56:09 -0600 Subject: egl: updated GL_APIENTRY for Windows --- include/GLES2/gl2platform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/GLES2') diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h index 7c3a22e43e..348daea765 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 } -- cgit v1.2.3