From 636dd621311d8f57645b4f86339d2c59a46bebe2 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 8 Sep 2011 09:58:13 -0700 Subject: [PATCH] mesa: Remove unused _mesa_enable_imaging_extensions function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The last user of this function was driInitExtensions, and that function was removed in a previous commit. Signed-off-by: Ian Romanick Reviewed-by: Roland Scheidegger Reviewed-by: Eric Anholt Reviewed-by: Marek Olšák --- src/mesa/main/extensions.c | 14 -------------- src/mesa/main/extensions.h | 5 ----- 2 files changed, 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 @@ -554,20 +554,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); @@ -85,9 +83,6 @@ _mesa_get_enabled_extension(struct gl_context *ctx, GLuint index); /** No-op */ #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) -- 2.30.2