summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-03-16 17:26:22 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:40 +0800
commite4706d5cc88eeea41b37241a11eb59e45f0c853b (patch)
tree289419ed0e0d523a1e2a9da316551c02f6049183
parent9a3759c3ddeee2ba4b2215074df3d21d24e65c5c (diff)
mesa: advertise GL_ARB_texture_non_power_of_two
It maps to DisplayHardware::NPOT_EXTENSION in SurfaceFlinger.
-rw-r--r--src/mesa/main/extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 1f39ec9..3fec91b 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -121,7 +121,7 @@ static const struct extension extension_table[] = {
{ "GL_ARB_texture_env_dot3", o(ARB_texture_env_dot3), GL },
{ "GL_ARB_texture_mirrored_repeat", o(ARB_texture_mirrored_repeat), GL },
{ "GL_ARB_texture_multisample", o(ARB_texture_multisample), GL },
- { "GL_ARB_texture_non_power_of_two", o(ARB_texture_non_power_of_two), GL },
+ { "GL_ARB_texture_non_power_of_two", o(ARB_texture_non_power_of_two), GL | ES1 | ES2 },
{ "GL_ARB_texture_rectangle", o(NV_texture_rectangle), GL },
{ "GL_ARB_texture_rgb10_a2ui", o(ARB_texture_rgb10_a2ui), GL },
{ "GL_ARB_texture_rg", o(ARB_texture_rg), GL },