[Mesa-dev] [PATCH 07/16] mesa: remove EXT_rescale_normal extension enable flag

Marek Olšák maraeo at gmail.com
Sun Oct 28 07:24:54 PDT 2012


---
 src/mesa/main/extensions.c |    3 +--
 src/mesa/main/mtypes.h     |    1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 5988549..36e2d6d 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -185,7 +185,7 @@ static const struct extension extension_table[] = {
    { "GL_EXT_point_parameters",                    o(EXT_point_parameters),                    GLL,            1997 },
    { "GL_EXT_polygon_offset",                      o(dummy_true),                              GLL,            1995 },
    { "GL_EXT_provoking_vertex",                    o(EXT_provoking_vertex),                    GL,             2009 },
-   { "GL_EXT_rescale_normal",                      o(EXT_rescale_normal),                      GLL,            1997 },
+   { "GL_EXT_rescale_normal",                      o(dummy_true),                              GLL,            1997 },
    { "GL_EXT_secondary_color",                     o(EXT_secondary_color),                     GLL,            1999 },
    { "GL_EXT_separate_shader_objects",             o(EXT_separate_shader_objects),             GLL,            2008 },
    { "GL_EXT_separate_specular_color",             o(EXT_separate_specular_color),             GLL,            1997 },
@@ -356,7 +356,6 @@ name_to_offset(const char* name)
  * XXX: Should these defaults also apply to GLES?
  */
 static const size_t default_extensions[] = {
-   o(EXT_rescale_normal),
    o(EXT_separate_specular_color),
    o(EXT_texture3D),
 
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 64efb98..382e09a 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3005,7 +3005,6 @@ struct gl_extensions
    GLboolean EXT_pixel_buffer_object;
    GLboolean EXT_point_parameters;
    GLboolean EXT_provoking_vertex;
-   GLboolean EXT_rescale_normal;
    GLboolean EXT_shadow_funcs;
    GLboolean EXT_secondary_color;
    GLboolean EXT_separate_shader_objects;
-- 
1.7.9.5



More information about the mesa-dev mailing list