diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2011-03-16 17:26:22 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-11-15 08:15:28 -0700 |
commit | dc2f9bb8178d6f074bd16fe8eef36d1b5d223f9e (patch) | |
tree | 01618e8fb2c4123f0bced60cdf66473708906946 | |
parent | eba04e52d9c535e29ee79690fc8ef8556a1ebfbc (diff) |
android: advertise GL_ARB_texture_non_power_of_two
It maps to DisplayHardware::NPOT_EXTENSION in SurfaceFlinger. Does not
seem to matter when EGL_ANDROID_image_native_buffer is available.
-rw-r--r-- | src/mesa/main/extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index f7814dd966..779fc0b76c 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -130,7 +130,7 @@ static const struct extension extension_table[] = { { "GL_ARB_texture_float", o(ARB_texture_float), GL, 2004 }, { "GL_ARB_texture_mirrored_repeat", o(dummy_true), GL, 2001 }, { "GL_ARB_texture_multisample", o(ARB_texture_multisample), GL, 2009 }, - { "GL_ARB_texture_non_power_of_two", o(ARB_texture_non_power_of_two), GL, 2003 }, + { "GL_ARB_texture_non_power_of_two", o(ARB_texture_non_power_of_two), GL | ES1, 2003 }, { "GL_ARB_texture_rectangle", o(NV_texture_rectangle), GL, 2004 }, { "GL_ARB_texture_rgb10_a2ui", o(ARB_texture_rgb10_a2ui), GL, 2009 }, { "GL_ARB_texture_rg", o(ARB_texture_rg), GL, 2008 }, |