From: Ian Romanick <ian.d.roman...@intel.com>

All drivers remaining in Mesa support this extension.  This extension
is required in desktop OpenGL.  The existing support is already partially
broken in Mesa (e.g., using format=GL_ABGR for glTexImage2D in OpenGL ES 2.x).
This patch does not change the situation in any way.
---
 src/mesa/main/extensions.c |    3 +--
 src/mesa/main/mtypes.h     |    1 -
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 4d43fde..203014d 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -146,7 +146,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_vertex_type_2_10_10_10_rev",          
o(ARB_vertex_type_2_10_10_10_rev),          GL,             2009 },
    { "GL_ARB_window_pos",                          o(ARB_window_pos),          
                GL,             2001 },
    /* EXT extensions */
-   { "GL_EXT_abgr",                                o(EXT_abgr),                
                GL,             1995 },
+   { "GL_EXT_abgr",                                o(dummy_true),              
                GL,             1995 },
    { "GL_EXT_bgra",                                o(dummy_true),              
                GL,             1995 },
    { "GL_EXT_blend_color",                         o(EXT_blend_color),         
                GL,             1995 },
    { "GL_EXT_blend_equation_separate",             
o(EXT_blend_equation_separate),             GL,             2003 },
@@ -346,7 +346,6 @@ static const size_t default_extensions[] = {
    o(ARB_transpose_matrix),
    o(ARB_window_pos),
 
-   o(EXT_abgr),
    o(EXT_compiled_vertex_array),
    o(EXT_draw_range_elements),
    o(EXT_packed_pixels),
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 22de4c4..4e3ceb5 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2817,7 +2817,6 @@ struct gl_extensions
    GLboolean ARB_vertex_shader;
    GLboolean ARB_vertex_type_2_10_10_10_rev;
    GLboolean ARB_window_pos;
-   GLboolean EXT_abgr;
    GLboolean EXT_blend_color;
    GLboolean EXT_blend_equation_separate;
    GLboolean EXT_blend_func_separate;
-- 
1.7.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to