progs/egl: Correctly check GL_OES_EGL_image.
authorChia-I Wu <olv@lunarg.com>
Tue, 6 Apr 2010 10:06:03 +0000 (18:06 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 6 Apr 2010 10:54:23 +0000 (18:54 +0800)
The hack was added because GL_OES_EGL_image was not exported in the
extension string.

progs/egl/opengles1/texture_from_pixmap.c

index abb8c28e56ec07459acc746058c20baf5ec80ea5..79b9474a5742f6976f012007b5fe47e14186cc6e 100644 (file)
@@ -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") ||