[Mesa-dev] [PATCH] mesa: Remove the OES_draw_texture extension from ES2.

Kenneth Graunke kenneth at whitecape.org
Tue May 15 15:50:26 PDT 2012


This extension appears to be written against ES 1.0.
In ES 2.0, you really want to be using FBOs instead.
---
 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. */
-- 
1.7.10.2



More information about the mesa-dev mailing list