summaryrefslogtreecommitdiff
path: root/src/mesa/es/main/specials_es1.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-11-23 17:10:12 +0800
committerBrian Paul <brianp@vmware.com>2010-01-04 14:15:15 -0700
commit3a4d0811b43295519d771fa192bd3d28bd5312d5 (patch)
treef4ac920c591eda2463fa30b14f18a9551398dcdc /src/mesa/es/main/specials_es1.c
parentf88297b369e9c2d4521554d8a6c66e288eb3b178 (diff)
mesa/es: Clean up extension string.
Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/es/main/specials_es1.c')
-rw-r--r--src/mesa/es/main/specials_es1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/es/main/specials_es1.c b/src/mesa/es/main/specials_es1.c
index 548fb0f029..0ace2924b3 100644
--- a/src/mesa/es/main/specials_es1.c
+++ b/src/mesa/es/main/specials_es1.c
@@ -140,8 +140,16 @@ make_extension_string(const GLcontext *ctx, char *str)
if (ctx->Extensions.EXT_texture_filter_anisotropic)
len += append_extension(&str, "GL_EXT_texture_filter_anisotropic");
+ /* some applications check this for NPOT support */
if (ctx->Extensions.ARB_texture_non_power_of_two)
len += append_extension(&str, "GL_ARB_texture_non_power_of_two");
+
+ if (ctx->Extensions.EXT_texture_compression_s3tc)
+ len += append_extension(&str, "GL_EXT_texture_compression_dxt1");
+ if (ctx->Extensions.EXT_texture_lod_bias)
+ len += append_extension(&str, "GL_EXT_texture_lod_bias");
+ if (ctx->Extensions.EXT_blend_minmax)
+ len += append_extension(&str, "GL_EXT_blend_minmax");
if (ctx->Extensions.EXT_multi_draw_arrays)
len += append_extension(&str, "GL_EXT_multi_draw_arrays");