From 3a02df7739df1ad0003ac7b4dd97a8dca2de4f99 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Sat, 7 Jan 2017 19:33:11 +1100 Subject: Working on compile issues for iOS --- platform/iphone/gl_view.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/iphone/gl_view.mm') 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]) { -- cgit v1.2.3