diff options
author | Ian Romanick <[email protected]> | 2011-09-08 09:58:13 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-19 12:02:20 -0700 |
commit | 636dd621311d8f57645b4f86339d2c59a46bebe2 (patch) | |
tree | 05b17568b089203972dadfed1b3eaaaaa06cfda2 | |
parent | 4d515c2146650678da7c1dca42fd914aaeb51157 (diff) |
mesa: Remove unused _mesa_enable_imaging_extensions function
The last user of this function was driInitExtensions, and that function
was removed in a previous commit.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/mesa/main/extensions.c | 14 | ||||
-rw-r--r-- | 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 6e9e3b2a3a4..a3b6f5611e9 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -555,20 +555,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 a9ed41f86bb..712c6e94da3 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 |