aboutsummaryrefslogtreecommitdiff
path: root/system/include/GLES/glplatform.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-04 16:43:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-04 16:43:45 -0800
commited41d97300977675b80c42ed2978f3775b0479f6 (patch)
tree1cda808746e8cbc6275d716933fee879b88d83d9 /system/include/GLES/glplatform.h
parentf3311dc114621b44e7f7c8b722ad02f49bbde6c3 (diff)
GLES 1.1 headers
Diffstat (limited to 'system/include/GLES/glplatform.h')
-rw-r--r--system/include/GLES/glplatform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/system/include/GLES/glplatform.h b/system/include/GLES/glplatform.h
new file mode 100644
index 00000000..2db6ee2c
--- /dev/null
+++ b/system/include/GLES/glplatform.h
@@ -0,0 +1,30 @@
+#ifndef __glplatform_h_
+#define __glplatform_h_
+
+/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */
+
+/*
+ * 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 1.X gl.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_API
+#define GL_API KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __glplatform_h_ */