Commit 216c76c8 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

progs/egl: Correctly check GL_OES_EGL_image.

The hack was added because GL_OES_EGL_image was not exported in the
extension string.
parent 2002e4d0
......@@ -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") ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment