summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-23 14:36:37 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-23 14:40:41 +0800
commit25e6736400f3667b3c0c879fc1dc1bf92f5ef44e (patch)
tree963e22b848c054593939ad2238747dd3fb3a5756 /src/mesa
parent62e7cd2aca3f07438a8b25658918b3c87e6ebda6 (diff)
es: Add support for GL_ARB_texture_non_power_of_two.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/es/main/specials_es1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/es/main/specials_es1.c b/src/mesa/es/main/specials_es1.c
index 02c3247e94..e26bd1ebc4 100644
--- a/src/mesa/es/main/specials_es1.c
+++ b/src/mesa/es/main/specials_es1.c
@@ -138,6 +138,9 @@ make_extension_string(const GLcontext *ctx, char *str)
if (ctx->Extensions.EXT_texture_filter_anisotropic)
len += append_extension(&str, "GL_EXT_texture_filter_anisotropic");
+ if (ctx->Extensions.ARB_texture_non_power_of_two)
+ len += append_extension(&str, "GL_ARB_texture_non_power_of_two");
+
return len;
}