Hi, two quick checks:
- have you rebuilt with ndk-build after modifying the mk file ?
- have you "refreshed" your Java project in Eclipse after building with ndk-build ? (if you don;t refresh it will not pick up your changes in native/mk)
Sometime you may also need to "clean" the project in Eclipse, and rebuild again.
If that's all in order you should not experience any problem with OpenGL ES 1.1 (the change that you did in MK file is correct; and the #ifdef vs #ifndef replacement is also fine, so that is not the problem, unless you also made other modifications in the code or MK file, that I'm not aware of).
About why using 1.1 or 2.0:
you can check this link:
There it is stated:
OpenGL ES 2.0 is supported by most Android devices and is recommended for new applications being developed with OpenGL
My advise is that in general you should use OpenGL ES 2.0 for the following reasons:
- it is supported practically everywhere (unless you use really old devices)
- it is the most recent standard for OpenGL ES
- it reflects the latest trends in Computer Graphics programming, in particular the Shader-based architecture, the use of "vertex attributes" and other features that are also considered the new trend in OpenGL 3.x / 4.x in Desktop applications.
OpenGl ES 1.1 instead does not support shaders and many other modern features commonly used in CG.
I would recommend using OpenGL ES 2.0 unless your concern is to support really low-end / old devices.