Undefined link glBindVertexArrayOES in eclipse

All GLES2 I use compilation, but these errors will not go away

undefined link to glBindVertexArrayOES

undefined link to glBindVertexArrayOES

undefined link to glGenVertexArraysOES

undefined link to glBindVertexArrayOES

undefined link to glBindVertexArrayOES

It seems that if eclipse cannot find where these functions that are defined that I don’t understand, since every other function is found fine, do I need to declare something to make them work?

thanks

+4
source share
1 answer

Have you tried calling this from native code (using JNI)? Android does not provide access to all OpenGL ES features from Java. I use GLES20Fix ( more ) to access the missing OpenGL ES API. You can extend this JNI library with the GL ES API function calls you need.

I checked the documentation on Android and the Java bindings do not have the glBindVertexArrayOES function, so it seems like you need to use JNI.

0
source

All Articles