diff options
author | Jonathan White <jwhite@tungstengraphics.com> | 2008-07-07 17:56:09 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-07 17:57:02 -0600 |
commit | f4caddd66f46f69ee34b1790ef1c2f549b186d2f (patch) | |
tree | b707f170ae540874ab3d4bfc0b086cceaa7e04dd /include/GLES2 | |
parent | 6701ecb3bae4bb34d14d0740a4da9481dd9f7704 (diff) | |
download | external_mesa3d-f4caddd66f46f69ee34b1790ef1c2f549b186d2f.zip external_mesa3d-f4caddd66f46f69ee34b1790ef1c2f549b186d2f.tar.gz external_mesa3d-f4caddd66f46f69ee34b1790ef1c2f549b186d2f.tar.bz2 |
egl: updated GL_APIENTRY for Windows
Diffstat (limited to 'include/GLES2')
-rw-r--r-- | include/GLES2/gl2platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |