From 7ca65a68e1bb9b53737facb9e787944cfeaec0aa Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Sat, 30 Mar 2013 00:20:05 -0700 Subject: [PATCH] draw: remove unused function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit we use draw_set_mapped_so_targets nowadays Signed-off-by: Zack Rusin Reviewed-by: Brian Paul Reviewed-by: José Fonseca --- src/gallium/auxiliary/draw/draw_context.c | 7 ------- src/gallium/auxiliary/draw/draw_context.h | 5 ----- 2 files changed, 12 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index ceb74df7f12..bb56f1bdee5 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -735,13 +735,6 @@ draw_set_mapped_so_targets(struct draw_context *draw, } void -draw_set_mapped_so_buffers(struct draw_context *draw, - void *buffers[PIPE_MAX_SO_BUFFERS], - unsigned num_buffers) -{ -} - -void draw_set_so_state(struct draw_context *draw, struct pipe_stream_output_info *state) { diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index b333457775c..426fd44f5eb 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -222,11 +222,6 @@ draw_set_mapped_constant_buffer(struct draw_context *draw, unsigned size); void -draw_set_mapped_so_buffers(struct draw_context *draw, - void *buffers[PIPE_MAX_SO_BUFFERS], - unsigned num_buffers); - -void draw_set_mapped_so_targets(struct draw_context *draw, int num_targets, struct draw_so_target *targets[PIPE_MAX_SO_BUFFERS]); -- 2.11.0