M7350/base/opengl/tools/glgen/stubs/gles11/glGetString.cpp
2024-09-09 08:52:07 +00:00

12 lines
297 B
C++

#include <string.h>
/* const GLubyte * glGetString ( GLenum name ) */
static
jstring
android_glGetString
(JNIEnv *_env, jobject _this, jint name) {
const char * chars = (const char *)glGetString((GLenum)name);
jstring output = _env->NewStringUTF(chars);
return output;
}