summaryrefslogtreecommitdiff
path: root/platform/iphone/gl_view.mm
diff options
context:
space:
mode:
authorhurikhan <m4r10.5ch14ck@gmail.com>2015-01-11 08:06:31 +0800
committerhurikhan <m4r10.5ch14ck@gmail.com>2015-01-11 08:06:31 +0800
commit291d7992ceae487a63dc2d6eb1ee2da7312017c5 (patch)
tree6bd0489107fa33477ccc7e7553c79d3001fe433a /platform/iphone/gl_view.mm
parenta8e3c5c0b7fb202bcceb06b9373b5b6a4ff8f9b8 (diff)
parentd30f4e52f654a26e14223a6ef9a946cc6282c0db (diff)
Merge branch 'master' into x11-fullscreen
Diffstat (limited to 'platform/iphone/gl_view.mm')
-rwxr-xr-xplatform/iphone/gl_view.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm
index 4dd2084c20..bee01d3c72 100755
--- a/platform/iphone/gl_view.mm
+++ b/platform/iphone/gl_view.mm
@@ -307,11 +307,7 @@ static void clear_touches() {
nil];
// Create our EAGLContext, and if successful make it current and create our framebuffer.
-#ifdef GLES1_OVERRIDE
- context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
-#else
context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
-#endif
if(!context || ![EAGLContext setCurrentContext:context] || ![self createFramebuffer])
{