diff options
author | Chia-I Wu <[email protected]> | 2010-04-06 17:46:17 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-04-06 18:01:41 +0800 |
commit | 2002e4d06e2627241cd4af88f65b54d2101ef151 (patch) | |
tree | 65d5d632bc8fc7a90de973b94580ebc7a7803dbf /src/mesa/es | |
parent | 0942ed45b370addf4edb310d4d0f9cd0c7b18fd0 (diff) |
mesa: Add OES_EGL_image to extension list.
Diffstat (limited to 'src/mesa/es')
-rw-r--r-- | src/mesa/es/main/specials_es1.c | 5 | ||||
-rw-r--r-- | src/mesa/es/main/specials_es2.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/es/main/specials_es1.c b/src/mesa/es/main/specials_es1.c index c842007c22e..92e24a03fe5 100644 --- a/src/mesa/es/main/specials_es1.c +++ b/src/mesa/es/main/specials_es1.c @@ -153,6 +153,11 @@ make_extension_string(const GLcontext *ctx, char *str) if (ctx->Extensions.EXT_multi_draw_arrays) len += append_extension(&str, "GL_EXT_multi_draw_arrays"); +#if FEATURE_OES_EGL_image + if (ctx->Extensions.OES_EGL_image) + len += append_extension(&str, "GL_OES_EGL_image"); +#endif + return len; } diff --git a/src/mesa/es/main/specials_es2.c b/src/mesa/es/main/specials_es2.c index 10b4f25e0f0..046cda6fc18 100644 --- a/src/mesa/es/main/specials_es2.c +++ b/src/mesa/es/main/specials_es2.c @@ -124,6 +124,11 @@ make_extension_string(const GLcontext *ctx, char *str) if (ctx->Extensions.EXT_multi_draw_arrays) len += append_extension(&str, "GL_EXT_multi_draw_arrays"); +#if FEATURE_OES_EGL_image + if (ctx->Extensions.OES_EGL_image) + len += append_extension(&str, "GL_OES_EGL_image"); +#endif + return len; } |