summaryrefslogtreecommitdiffstats
path: root/src/mesa/es/main/specials_es1.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-22 15:00:24 +0800
committerBrian Paul <[email protected]>2009-11-05 20:04:20 -0700
commit34064756a5e2c8952c9de26eaebafddabd562540 (patch)
treeafb8aa9358db033b672db8b69f7dabbb4ec800a1 /src/mesa/es/main/specials_es1.c
parentbfa66bd6f941920cf32ce79fb103c3755b4dd8fb (diff)
mesa/es: Add support for GL_OES_draw_texture.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/es/main/specials_es1.c')
-rw-r--r--src/mesa/es/main/specials_es1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/es/main/specials_es1.c b/src/mesa/es/main/specials_es1.c
index 84d339ebf67..548fb0f0297 100644
--- a/src/mesa/es/main/specials_es1.c
+++ b/src/mesa/es/main/specials_es1.c
@@ -100,6 +100,11 @@ make_extension_string(const GLcontext *ctx, char *str)
/* 1.1 deprecated extensions */
len += append_extension(&str, "GL_OES_query_matrix");
+#if FEATURE_OES_draw_texture
+ if (ctx->Extensions.OES_draw_texture)
+ len += append_extension(&str, "GL_OES_draw_texture");
+#endif
+
if (ctx->Extensions.EXT_blend_equation_separate)
len += append_extension(&str, "GL_OES_blend_equation_separate");
if (ctx->Extensions.EXT_blend_func_separate)