Module: Mesa Branch: master Commit: 216c76c820339729a6c17237cf4d1478a1e9e2be URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=216c76c820339729a6c17237cf4d1478a1e9e2be
Author: Chia-I Wu <[email protected]> Date: Tue Apr 6 18:06:03 2010 +0800 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 files changed, 0 insertions(+), 1 deletions(-) diff --git a/progs/egl/opengles1/texture_from_pixmap.c b/progs/egl/opengles1/texture_from_pixmap.c index abb8c28..79b9474 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") || _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
