If I initialize EAGLContextas follows
_eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]
The program works fine, but using kEAGLRenderingAPIOpenGLES3, the following code fails:
_ciContext = [CIContext contextWithEAGLContext:_eaglContext options:options];
CIContext indicates that "the OpenGL ES context should support OpenGL ES 2.0," but I had the impression that 3.0 should have been backward compatible ...
What am I missing?
source
share