From: Chia-I Wu Date: Tue, 6 Apr 2010 10:06:03 +0000 (+0800) Subject: progs/egl: Correctly check GL_OES_EGL_image. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=216c76c820339729a6c17237cf4d1478a1e9e2be;p=mesa.git progs/egl: Correctly check GL_OES_EGL_image. The hack was added because GL_OES_EGL_image was not exported in the extension string. --- 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") ||