aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/ios/OpenGLES/EAGL.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/ios/OpenGLES/EAGL.h')
-rw-r--r--make/stub_includes/ios/OpenGLES/EAGL.h13
1 files changed, 13 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);
+