Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone please help me .i am working on sneakyjoystick class when i import these class some error are identified they are following :-

use of undeclared identifier 'GL_TEXTURE_COORD_ARRAY'

use of undeclared identifier 'GL_COLOR_ARRAY'

share|improve this question
This is a difference between OpenGL 1.0 and 2.0 - OpenGL ES1.0 has those defined in the gl.h header but OpenGL ES2.0 does not. I'm working through this tutorial:… but ran into the same problem. I'll update my answer if I can find out how to do this with OpenGL 2.0 – Harrison Jackson Oct 15 '12 at 2:44
up vote 1 down vote accepted

GL_TEXTURE_COORD_ARRAY and GL_COLOR_ARRAY are usually defined in gl.h

/usr/include/GL $ grep GL_COLOR_ARRAY gl.h -rn

209:#define GL_COLOR_ARRAY 0x8076

Are you including this header correctly?

If you paste a bit of your code we can probably give you a more detailed answer.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.