I'm using the NDK with Eclipse Indigo and I want to access some OpenGL methods from C++ so I included GLES/gl.h.
I can compile the C++ code fine from within Eclipse, however Eclipse insists that the OpenGL functions cannot be resolved. I opened GLES/ gl.h in Eclipse and noticed that declarations of the OpenGL functions are not being parsed correctly; the function names are not in bold. However, the OpenGL functions which do not return void are parsed correctly. For example: GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer) is OK GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) is not OK As soon as I change the void to something else, the function name turn bold and shows in the Outline view. Anyone got an idea what's going on? Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

