Mesa (master): progs/egl: Correctly check GL_OES_EGL_image.

Chia-I Wu olv at kemper.freedesktop.org
Tue Apr 6 11:56:11 UTC 2010


Module: Mesa
Branch: master
Commit: 216c76c820339729a6c17237cf4d1478a1e9e2be
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=216c76c820339729a6c17237cf4d1478a1e9e2be

Author: Chia-I Wu <olv at lunarg.com>
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") ||




More information about the mesa-commit mailing list