"libesl called unimplement opengl es API"
I tried to make a demo of opengles 2.0 by using android ndk,
Logcat showed the error information "libesl called unimplement opengl es API". Why? I'm following OpenGL ES 2.0 Programming Guide's first exa开发者_如何转开发mple. Regards,Did you run it in the emulator or on a proper Android device? The emulator doesn't support OpenGL at all!
You may want to check this answer:
Android: GLES20: Called unimplemented OpenGL ES API
In a nutshell, the application needs to be told to use OpenGLES 2.0.
You could start with the hello-gl2 sample in the NDK. The Java-side setup looks a bit complicated but does the job.
精彩评论