Cocos2D: Upgrading from OpenGL ES 1.1 to 2.0
- by Alex
I have recently starting upgrading my ios game to the latest Cocos2D (2.0 rc), and I am having some difficulties upgrading my texture generation code to OpenGL 2.0.
In the old version I generated images with this code:
CCRenderTexture *rt =
[CCRenderTexture renderTextureWithWidth:WIDTH height:HEIGHT];
[rt beginWithClear:bgColor.r g:bgColor.g…