EAGLContext
如果我像这样初始化
_eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]
该程序运行良好,但使用kEAGLRenderingAPIOpenGLES3
,以下代码导致崩溃:
_ciContext = [CIContext contextWithEAGLContext:_eaglContext options:options];
CIContext
类引用声明“OpenGL ES 上下文必须支持 OpenGL ES 2.0”,但我的印象是 3.0 应该是向后兼容的......
我错过了什么?