added cocos2d openGL cache states: ccGLBlendEnabled, ccCurrentActiveTextureUnit