From 6bc36f29c7e9cb4e5acc65acab27e9b6ec83ab94 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Sep 2009 16:51:52 -0600 Subject: [PATCH] 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(-) diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index 57ef5213d7d..c699c433e9c 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 1a9646147b8..548e40c4a8c 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 893aa7d11d8..b1b6130b22c 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); -- 2.30.2