summaryrefslogtreecommitdiff
path: root/platform/iphone/gl_view.mm
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-01-07 19:33:11 +1100
committerBastiaanOlij <mux213@gmail.com>2017-01-16 23:14:13 +1100
commit3a02df7739df1ad0003ac7b4dd97a8dca2de4f99 (patch)
tree3b79be439fc6a8cd72dfd76fdf0631254693c8ec /platform/iphone/gl_view.mm
parenteeea11602240d41c704e540ef2fd3cad422cc01a (diff)
Working on compile issues for iOS
Diffstat (limited to 'platform/iphone/gl_view.mm')
-rwxr-xr-xplatform/iphone/gl_view.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm
index 3df29c5178..a3af8f4aa8 100755
--- a/platform/iphone/gl_view.mm
+++ b/platform/iphone/gl_view.mm
@@ -274,7 +274,7 @@ static void clear_touches() {
nil];
// Create our EAGLContext, and if successful make it current and create our framebuffer.
- context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
+ context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES3];
if(!context || ![EAGLContext setCurrentContext:context] || ![self createFramebuffer])
{