aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/SDL/include/SDL_opengles2_gl2platform.h
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-01-03 17:09:52 +0100
committerLoïc Hoguin <[email protected]>2018-01-03 17:09:52 +0100
commit435845af18dead29addb2d88e32bf919011a0a51 (patch)
tree44e1c1e2d34b5613fac6320b2587bce1d97f1032 /vendor/SDL/include/SDL_opengles2_gl2platform.h
parentb8c213eaf6183208f87bad4cd583958ae9967cc9 (diff)
downloadesdl2-435845af18dead29addb2d88e32bf919011a0a51.tar.gz
esdl2-435845af18dead29addb2d88e32bf919011a0a51.tar.bz2
esdl2-435845af18dead29addb2d88e32bf919011a0a51.zip
Add the 2.0.7 SDL include files
This will be helpful to determine exactly what we implement, to provide some sort of documentation and help figure out what's new in more recent SDL versions.
Diffstat (limited to 'vendor/SDL/include/SDL_opengles2_gl2platform.h')
-rw-r--r--vendor/SDL/include/SDL_opengles2_gl2platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/SDL/include/SDL_opengles2_gl2platform.h b/vendor/SDL/include/SDL_opengles2_gl2platform.h
new file mode 100644
index 0000000..c325686
--- /dev/null
+++ b/vendor/SDL/include/SDL_opengles2_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_ */