On 05/15/2012 03:50 PM, Kenneth Graunke wrote:
This extension appears to be written against ES 1.0. In ES 2.0, you really want to be using FBOs instead.
I did a little archaeology. It looks like the patch that originally added this functionality (34064756a5e2c8952c9de26eaebafddabd562540) only enabled it for ES1. It would be nice to get Chia-I's input, though.
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>
--- 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 a843a40..cd76eeb 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -228,7 +228,7 @@ static const struct extension extension_table[] = { { "GL_OES_depth32", o(dummy_false), DISABLE, 2005 }, { "GL_OES_depth_texture", o(ARB_depth_texture), ES2, 2006 }, #if FEATURE_OES_draw_texture - { "GL_OES_draw_texture", o(OES_draw_texture), ES1 | ES2, 2004 }, + { "GL_OES_draw_texture", o(OES_draw_texture), ES1, 2004 }, #endif #if FEATURE_OES_EGL_image /* FIXME: Mesa expects GL_OES_EGL_image to be available in OpenGL contexts. */
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev