【发布时间】:2014-05-05 00:36:41
【问题描述】:
如果我像这样初始化EAGLContext
_eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]
程序运行良好,但使用kEAGLRenderingAPIOpenGLES3,以下代码导致崩溃:
_ciContext = [CIContext contextWithEAGLContext:_eaglContext options:options];
CIContext 类参考声明 “OpenGL ES 上下文必须支持 OpenGL ES 2.0” 但我的印象是 3.0 应该是向后兼容的......
我错过了什么?
【问题讨论】:
标签: ios opengl-es-2.0 core-image opengl-es-3.0