Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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: raywenderlich.com/3857/… 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

1 Answer 1

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

 
discard

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.