summaryrefslogtreecommitdiffstats
path: root/include/GLES2
diff options
context:
space:
mode:
Diffstat (limited to 'include/GLES2')
-rw-r--r--include/GLES2/gl2platform.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h
index 348daea7656..7891a61ed7a 100644
--- a/include/GLES2/gl2platform.h
+++ b/include/GLES2/gl2platform.h
@@ -51,7 +51,11 @@ extern "C" {
# else
# define GL_APICALL __declspec(dllimport)
# endif
-# define GL_APIENTRY __stdcall
+# ifdef UNDER_CE
+# define GL_APIENTRY
+# else
+# define GL_APIENTRY __stdcall
+# endif
#else
# ifdef __GL_EXPORTS
# define GL_APICALL