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 example.
Regards,
Asked
Active
Viewed 859 times
0

Sean
- 6,785
- 7
- 23
- 26
2 Answers
0
Did you run it in the emulator or on a proper Android device? The emulator doesn't support OpenGL at all!

Teknogrebo
- 1,247
- 1
- 12
- 22
-
I changed to OpenGLES1.1, now it's working.I think android may not support OpenGLES2.0 very well. – Sean Jan 12 '11 at 05:08
0
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.

Community
- 1
- 1

George Phillips
- 4,564
- 27
- 25