aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/opengl/GLES2/gl2platform.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-04 19:58:32 +0100
committerSven Gothel <[email protected]>2010-11-04 19:58:32 +0100
commitb601c33cc59a3c0a8654c46960b8d8c23a2face2 (patch)
tree91c2292326215a7139f4d63dbac2d60eaf2ad4ea /make/stub_includes/opengl/GLES2/gl2platform.h
parentc695633315116737a113136a40a2158cbe5d47c5 (diff)
Replaced with khronos versions: gl2platform.h 2.0 2010-03-04, gl2.h 2.0 2010-03-04, gl2ext.h 2010-11-03
Diffstat (limited to 'make/stub_includes/opengl/GLES2/gl2platform.h')
-rw-r--r--make/stub_includes/opengl/GLES2/gl2platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/make/stub_includes/opengl/GLES2/gl2platform.h b/make/stub_includes/opengl/GLES2/gl2platform.h
new file mode 100644
index 000000000..c9fa3c4d6
--- /dev/null
+++ b/make/stub_includes/opengl/GLES2/gl2platform.h
@@ -0,0 +1,30 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -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 2.X gl2.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 /* __gl2platform_h_ */