Native Open GL in Monkey

Monkey Targets Forums/Android/Native Open GL in Monkey

anawiki(Posted 2012) [#1]
I can see ANDROID_NATIVEGL_ENABLED in config.txt. Does it work on Android? How to use it? It doesn't seem to have any effect for the code.

cheers
Roman


AdamRedwoods(Posted 2012) [#2]
monkey opengl es 2.0 documentation:


Android notes
GLES2.0 is only available on API 8 or higher. In addition, if you want to target API 8 (Android 2.2 'Froyo') and want to use vertex buffer objects, you must set the app config setting "ANDROID_NATIVE_GL_ENABLED" to "true". This will cause some 'native code' to be added to your app that works around an issue in Android API 8. Note that this is not necessary if you are targeting API 9 or higher.