How do I create an OpenGL ES 2 context in a native activity?

Viewed 4357

For the life of me, I cannot find any good pure Android NDK examples for OpenGL ES 2. The one included native-activity sample project builds an ES 1 context. Are there any sample programs demonstrating the creation of an ES 2 context in pure C++?

1 Answers
Related