Reputation: 12832
Does Android support being able to choose which version of OpenGLES at runtime?
Say I want to run my game on an old Android device that supports only 1.1 and a new Android device that has 2.0. Can I detect and then choose which version of OpenGLES to instantiate?
Upvotes: 1
Views: 1023
Reputation: 8431
Might android:glEsVersion work as well from the Manifest?
I use this to target 1.1..
<uses-feature android:required="true" android:glEsVersion="0x00010001" />
Or is the question more like, I want to write code that can use either version and change the code being used at runtime...
Upvotes: 0