I'm following these docs and trying to set OpenGL version to 1.1. But when I call glGetString(GL_VERSION)
in my C code it always returns me
OpenGL ES-CM 1.0
I believe I should specify version when I create context (or surface) but i can't find any API for this.
I'm also getting such kind of errors:
08-09 13:47:13.642: ERROR/libEGL(567): called unimplemented OpenGL ES API
which also proves that OpenGL ES 1.0 is used instead of 1.1.
Edit: I should note that on device everything is OK. The problem exists only on emulator (tested on platforms 2.2 and 2.3.3)
Edit2: tested on HTC Wildfire with Android 2.2.1 and it also shows me OpenGL version 1.0