aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/ios/OpenGLES
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/ios/OpenGLES')
-rw-r--r--make/stub_includes/ios/OpenGLES/EAGL.h13
-rw-r--r--make/stub_includes/ios/OpenGLES/EAGLDrawable.h2
2 files changed, 15 insertions, 0 deletions
diff --git a/make/stub_includes/ios/OpenGLES/EAGL.h b/make/stub_includes/ios/OpenGLES/EAGL.h
new file mode 100644
index 000000000..050843a99
--- /dev/null
+++ b/make/stub_includes/ios/OpenGLES/EAGL.h
@@ -0,0 +1,13 @@
+typedef struct _EAGLContext EAGLContext;
+typedef struct _EAGLSharegroup EAGLSharegroup;
+typedef struct _EAGLDrawable EAGLDrawable;
+
+typedef enum _EAGLRenderingAPI
+{
+ kEAGLRenderingAPIOpenGLES1 = 1,
+ kEAGLRenderingAPIOpenGLES2 = 2,
+ kEAGLRenderingAPIOpenGLES3 = 3,
+} EAGLRenderingAPI;
+
+void EAGLGetVersion(unsigned int* major, unsigned int* minor);
+
diff --git a/make/stub_includes/ios/OpenGLES/EAGLDrawable.h b/make/stub_includes/ios/OpenGLES/EAGLDrawable.h
new file mode 100644
index 000000000..6282c155e
--- /dev/null
+++ b/make/stub_includes/ios/OpenGLES/EAGLDrawable.h
@@ -0,0 +1,2 @@
+typedef struct _EAGLDrawable EAGLDrawable;
+