From 216c76c820339729a6c17237cf4d1478a1e9e2be Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 6 Apr 2010 18:06:03 +0800 Subject: [PATCH] progs/egl: Correctly check GL_OES_EGL_image. The hack was added because GL_OES_EGL_image was not exported in the extension string. --- progs/egl/opengles1/texture_from_pixmap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/progs/egl/opengles1/texture_from_pixmap.c b/progs/egl/opengles1/texture_from_pixmap.c index abb8c28e56e..79b9474a574 100644 --- a/progs/egl/opengles1/texture_from_pixmap.c +++ b/progs/egl/opengles1/texture_from_pixmap.c @@ -332,7 +332,6 @@ app_init_exts(struct app_data *data) } exts = (const char *) glGetString(GL_EXTENSIONS); - exts = "GL_OES_EGL_image"; /* XXX */ data->glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) eglGetProcAddress("glEGLImageTargetTexture2DOES"); if (!exts || !strstr(exts, "GL_OES_EGL_image") || -- 2.30.2