summaryrefslogtreecommitdiffstats
path: root/include/GLES3/gl3platform.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-10-15 11:20:40 -0700
committerMatt Turner <[email protected]>2012-10-16 19:31:22 -0700
commit0199ff7fe323cf527ffacfdef3258ab85799dd13 (patch)
treee8c12099bde3972df90789d1c5db8dc048db0acb /include/GLES3/gl3platform.h
parentc9155c9317a4d338f26377ee2f269ac4e7c7f538 (diff)
es2api: Add GL ES 3 headers
Diffstat (limited to 'include/GLES3/gl3platform.h')
-rw-r--r--include/GLES3/gl3platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/GLES3/gl3platform.h b/include/GLES3/gl3platform.h
new file mode 100644
index 00000000000..1bd1a850fa6
--- /dev/null
+++ b/include/GLES3/gl3platform.h
@@ -0,0 +1,30 @@
+#ifndef __gl3platform_h_
+#define __gl3platform_h_
+
+/* $Revision: 18437 $ on $Date:: 2012-07-08 23:31:39 -0700 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 3.X gl3.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file. Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "Registry".
+ */
+
+#include <KHR/khrplatform.h>
+
+#ifndef GL_APICALL
+#define GL_APICALL KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl3platform_h_ */