4
创建CIContext如果我初始化EAGLContext
这样无法从3.0 EAGLContext
_eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]
程序运行正常,但使用kEAGLRenderingAPIOpenGLES3
,下面的代码导致系统崩溃:
_ciContext = [CIContext contextWithEAGLContext:_eaglContext options:options];
CIContext
类参考状态“OpenGL ES上下文必须支持OpenGL ES 2.0”但我的印象是3.0应该向后兼容......
我错过了什么?