Changed CIContext to EAGLContext.