progs/egl: Correctly check GL_OES_EGL_image.

The hack was added because GL_OES_EGL_image was not exported in the
extension string.
This commit is contained in:
Chia-I Wu 2010-04-06 18:06:03 +08:00
parent 2002e4d06e
commit 216c76c820

View 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") ||