[Mesa-dev] [PATCH 1/7] mesa: Remove unused _mesa_enable_imaging_extensions function

Ian Romanick idr at freedesktop.org
Fri Sep 9 15:39:15 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

The last user of this function was driInitExtensions, and that function
was removed in a previous commit.
---
 src/mesa/main/extensions.c |   14 --------------
 src/mesa/main/extensions.h |    5 -----
 2 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 1903a50..99942fa 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -553,20 +553,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
 
 
 /**
- * Enable common EXT extensions in the ARB_imaging subset.
- */
-void
-_mesa_enable_imaging_extensions(struct gl_context *ctx)
-{
-   ctx->Extensions.EXT_blend_color = GL_TRUE;
-   ctx->Extensions.EXT_blend_logic_op = GL_TRUE;
-   ctx->Extensions.EXT_blend_minmax = GL_TRUE;
-   ctx->Extensions.EXT_blend_subtract = GL_TRUE;
-}
-
-
-
-/**
  * Enable all OpenGL 1.3 features and extensions.
  * A convenience function to be called by drivers.
  */
diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h
index a9ed41f..712c6e9 100644
--- a/src/mesa/main/extensions.h
+++ b/src/mesa/main/extensions.h
@@ -45,8 +45,6 @@ struct gl_context;
 
 extern void _mesa_enable_sw_extensions(struct gl_context *ctx);
 
-extern void _mesa_enable_imaging_extensions(struct gl_context *ctx);
-
 extern void _mesa_enable_1_3_extensions(struct gl_context *ctx);
 
 extern void _mesa_enable_1_4_extensions(struct gl_context *ctx);
@@ -86,9 +84,6 @@ _mesa_get_enabled_extension(struct gl_context *ctx, GLuint index);
 #define _mesa_extensions_get_string( ctx ) "GL_EXT_texture_object"
 
 /** No-op */
-#define _mesa_enable_imaging_extensions( c ) ((void)0)
-
-/** No-op */
 #define _mesa_enable_extension( c, n ) ((void)0)
 
 #endif
-- 
1.7.6



More information about the mesa-dev mailing list