OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2002e4d
)
progs/egl: Correctly check GL_OES_EGL_image.
author
Chia-I Wu
<olv@lunarg.com>
Tue, 6 Apr 2010 10:06:03 +0000
(18:06 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Tue, 6 Apr 2010 10:54:23 +0000
(18:54 +0800)
The hack was added because GL_OES_EGL_image was not exported in the
extension string.
progs/egl/opengles1/texture_from_pixmap.c
patch
|
blob
|
history
diff --git
a/progs/egl/opengles1/texture_from_pixmap.c
b/progs/egl/opengles1/texture_from_pixmap.c
index
abb8c28
..
79b9474
100644
(file)
--- 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") ||