From 185ed2105829d6f5eb19edb9abbf0d7977e157c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 25 May 2012 09:44:53 -0600 Subject: draw: simplify index buffer specification Replace draw_set_index_buffer() and draw_set_mapped_index_buffer() with draw_set_indexes() which simply takes a pointer and an index size. --- src/gallium/drivers/i915/i915_state.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/i915/i915_state.c') diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index 1ff53884ada..f4b5d6f37b7 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -1048,9 +1048,6 @@ static void i915_set_index_buffer(struct pipe_context *pipe, memcpy(&i915->index_buffer, ib, sizeof(i915->index_buffer)); else memset(&i915->index_buffer, 0, sizeof(i915->index_buffer)); - - /* pass-through to draw module */ - draw_set_index_buffer(i915->draw, ib); } static void -- cgit v1.2.3