From e4706d5cc88eeea41b37241a11eb59e45f0c853b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 16 Mar 2011 17:26:22 +0800 Subject: mesa: advertise GL_ARB_texture_non_power_of_two It maps to DisplayHardware::NPOT_EXTENSION in SurfaceFlinger. --- src/mesa/main/extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 1f39ec92df..3fec91b465 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 }, -- cgit v1.2.3