fa4c1170ac
Modeled on the existing glGetString special-case. Bug: 8566953 Change-Id: Icc6b23ab53b00510368900ad99c92028253dc797
9 lines
288 B
C++
9 lines
288 B
C++
/* const GLubyte * glGetStringi ( GLenum name, GLuint index ) */
|
|
static jstring
|
|
android_glGetStringi__II
|
|
(JNIEnv *_env, jobject _this, jint name, jint index) {
|
|
const GLubyte* _chars = glGetStringi((GLenum)name, (GLuint)index);
|
|
return _env->NewStringUTF((const char*)_chars);
|
|
}
|
|
|