title: OpenGL undefined cocos2d
body: <p>Functions such as</p>
  
  <pre><code>glDisableClientState(GL_TEXTURE_COORD_ARRAY);
  glDisableClientState(GL_COLOR_ARRAY);
  glColor4f(c2.r, c2.g, c2.b, c2.a);
  glVertexPointer(2, GL_FLOAT, 0, vertices);
  </code></pre>
  
  <p>give me an undefined error (use of undeclared identifier .. )</p>
  
  <p>This is in Cocos2d 2.0, which should have the OpenGL es library linked to it.
  I've got the code from this -> <a href="http://www.raywenderlich.com/3857/how-to-create-dynamic-textures-with-ccrendertexture" rel="nofollow">http://www.raywenderlich.com/3857/how-to-create-dynamic-textures-with-ccrendertexture</a>
  their sample code seems fine, I'm not sure what's different, I don't see any libraries to be missing from my declarations that they would have.</p>