Cocos2D 2.0 – Zillions of OpenGL errors

OpenGL error 0x506 = GL_INVALID_FRAMEBUFFER_OPERATION Main difference between Cocos2D 2.0 and Cocos2D 1.0 is OpenGLES version. Cocos2D 2.0 uses OpenGLES 2.0 and Cocos2D 1.0 uses OpenGLES 1.0. I guess you may used API that is not found in OpenGLES2.0 that found in OpenGLES 1.0 Example:GLBegin(), GLLineWidth() etc Use this draw function: -(void) draw { [super … Read more