|
|
@ -101,8 +101,9 @@ error:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void init_image_ext() {
|
|
|
|
static void init_image_ext() {
|
|
|
|
if (glEGLImageTargetTexture2DOES)
|
|
|
|
if (glEGLImageTargetTexture2DOES) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const char *exts = (const char*) glGetString(GL_EXTENSIONS);
|
|
|
|
const char *exts = (const char*) glGetString(GL_EXTENSIONS);
|
|
|
|
if (strstr(exts, "GL_OES_EGL_image_external")) {
|
|
|
|
if (strstr(exts, "GL_OES_EGL_image_external")) {
|
|
|
|