summaryrefslogtreecommitdiffstats
path: root/include/GLES2
diff options
context:
space:
mode:
authorJonathan White <[email protected]>2008-07-16 16:10:57 -0600
committerBrian Paul <[email protected]>2008-07-16 16:11:38 -0600
commite4f3770690129dc1ea683fadbe07f1fbc49cf271 (patch)
tree1a4e8bf7daf0dbe6106c46c08fbdc7f07defbf89 /include/GLES2
parentab8f838060c7d30b8b18cac600c4b1d97ecf3f6c (diff)
mesa: WinCE fixes
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