- * A device that supports a given API level may not necessarily - * support every feature of that API level. API-specific techniques may - * be used to determine whether specific features are supported. - * - * @return the highest OpenGL ES API level supported by the current device. - */ - public static int getOpenGLESVersion() { - return SystemProperties.getInt("ro.opengles.version", OPENGLES_11); - } - - /** - * The version number for OpenGL ES 1.1. - */ - public final static int OPENGLES_11 = 11; - - /** - * The version number for OpenGL ES 2.0. - */ - public final static int OPENGLES_20 = 20; -}