summaryrefslogtreecommitdiffstats
path: root/include/GLES2/gl2platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GLES2/gl2platform.h')
-rw-r--r--include/GLES2/gl2platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h
index 7c3a22e43e4..348daea7656 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
}