summaryrefslogtreecommitdiffstats
path: root/progs/egl/opengles1
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-04-06 18:06:03 +0800
committerChia-I Wu <[email protected]>2010-04-06 18:54:23 +0800
commit216c76c820339729a6c17237cf4d1478a1e9e2be (patch)
treec6f452d845138634dfe73ec7ea169a7573c5580c /progs/egl/opengles1
parent2002e4d06e2627241cd4af88f65b54d2101ef151 (diff)
progs/egl: Correctly check GL_OES_EGL_image.
The hack was added because GL_OES_EGL_image was not exported in the extension string.
Diffstat (limited to 'progs/egl/opengles1')
-rw-r--r--progs/egl/opengles1/texture_from_pixmap.c1
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 abb8c28e56e..79b9474a574 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") ||