From: Jonathan White Date: Mon, 7 Jul 2008 23:56:09 +0000 (-0600) Subject: egl: updated GL_APIENTRY for Windows X-Git-Tag: 062012170305~17580^2~390^2~992 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4caddd66f46f69ee34b1790ef1c2f549b186d2f;p=profile%2Fivi%2Fmesa.git egl: updated GL_APIENTRY for Windows --- diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h index 543464b..dbbf2b9 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 7c3a22e..348daea 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 }