diff options
author | Marek Olšák <[email protected]> | 2012-03-30 00:20:16 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-05-12 23:13:45 +0200 |
commit | 685a28fd8a046e8dac02c2c26ab8b169de7a2a29 (patch) | |
tree | 4225c285ec9f455e34a3244aa05296d4b4052032 /src/gallium/auxiliary | |
parent | b70736fa82c29e83a5ad222f58cfe8aa3b910c88 (diff) |
gallium/util: remove unused parameter nr_vertex_buffers in util_draw_max_index
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 1 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_draw.c | 1 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_draw.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index 025d53989e4..dbe5e9470b2 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -505,7 +505,6 @@ draw_vbo(struct draw_context *draw, draw_print_arrays(draw, info->mode, info->start, MIN2(info->count, 20)); index_limit = util_draw_max_index(draw->pt.vertex_buffer, - draw->pt.nr_vertex_buffers, draw->pt.vertex_element, draw->pt.nr_vertex_elements, info); diff --git a/src/gallium/auxiliary/util/u_draw.c b/src/gallium/auxiliary/util/u_draw.c index 1f3eb887959..5b3c41231a2 100644 --- a/src/gallium/auxiliary/util/u_draw.c +++ b/src/gallium/auxiliary/util/u_draw.c @@ -44,7 +44,6 @@ unsigned util_draw_max_index( const struct pipe_vertex_buffer *vertex_buffers, - unsigned nr_vertex_buffers, const struct pipe_vertex_element *vertex_elements, unsigned nr_vertex_elements, const struct pipe_draw_info *info) diff --git a/src/gallium/auxiliary/util/u_draw.h b/src/gallium/auxiliary/util/u_draw.h index fdb683ca8a2..3dc69181c13 100644 --- a/src/gallium/auxiliary/util/u_draw.h +++ b/src/gallium/auxiliary/util/u_draw.h @@ -145,7 +145,6 @@ util_draw_range_elements(struct pipe_context *pipe, unsigned util_draw_max_index( const struct pipe_vertex_buffer *vertex_buffers, - unsigned nr_vertex_buffers, const struct pipe_vertex_element *vertex_elements, unsigned nr_vertex_elements, const struct pipe_draw_info *info); |