From 6bc36f29c7e9cb4e5acc65acab27e9b6ec83ab94 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Sep 2009 16:51:52 -0600 Subject: softpipe: remove no-op softpipe_init_texture_funcs() function --- src/gallium/drivers/softpipe/sp_context.c | 1 - src/gallium/drivers/softpipe/sp_texture.c | 6 ------ src/gallium/drivers/softpipe/sp_texture.h | 3 --- 3 files changed, 10 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index 57ef5213d7..c699c433e9 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -236,7 +236,6 @@ softpipe_create( struct pipe_screen *screen ) softpipe->pipe.is_buffer_referenced = softpipe_is_buffer_referenced; softpipe_init_query_funcs( softpipe ); - softpipe_init_texture_funcs( softpipe ); /* * Alloc caches for accessing drawing surfaces and textures. diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index 1a9646147b..548e40c4a8 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -371,12 +371,6 @@ softpipe_transfer_unmap(struct pipe_screen *screen, } -void -softpipe_init_texture_funcs(struct softpipe_context *sp) -{ -} - - void softpipe_init_screen_texture_funcs(struct pipe_screen *screen) { diff --git a/src/gallium/drivers/softpipe/sp_texture.h b/src/gallium/drivers/softpipe/sp_texture.h index 893aa7d11d..b1b6130b22 100644 --- a/src/gallium/drivers/softpipe/sp_texture.h +++ b/src/gallium/drivers/softpipe/sp_texture.h @@ -73,9 +73,6 @@ softpipe_transfer(struct pipe_transfer *pt) } -extern void -softpipe_init_texture_funcs( struct softpipe_context *softpipe ); - extern void softpipe_init_screen_texture_funcs(struct pipe_screen *screen); -- cgit v1.2.3