1

I ran my OpenGL ES 2.0 sample app (which runs on fine on iOS devices) on HTC Desire HD (2.3.3), and I'm getting tons of the following messages in LogCat.

Called unimplemented OpenGL ES API

The error is even generated when I use glBindFramebuffer. I used glBindFramebufferOES in OpenGL ES 1.0, and it worked fine. As far as I know Framebuffers are included as a non-extension in OpenGL ES 2.0.

Why am I getting this error? It is stated that my device has an OpenGL ES 2.0 driver. Is this a device specific bug?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Mohsen
  • 11
  • 1
  • 3

2 Answers2

0

Call setEGLContextClientVersion(2); on your GLSurfaceView class in your activity, and this should work.

revolutionary
  • 3,314
  • 4
  • 36
  • 53
0

I had the same problem and this answer helped:

Android: GLES20: Called unimplemented OpenGL ES API

Basically, the AndroidManifest.xml and Java wrapping code both have to indicate that OpenGLES 2.0 is desired.

Community
  • 1
  • 1
George Phillips
  • 4,564
  • 27
  • 25