diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-08-25 15:11:03 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-08-25 16:06:45 +0800 |
commit | 22f6026324f63c142925244ff575fefc29a90389 (patch) | |
tree | 27be867272e6799cfa6d5ff153ce84e5b693a914 /src/gallium/drivers/i915/i915_state.c | |
parent | 94e8d4171d9647db84cd53334a2b14fab062640d (diff) | |
download | external_mesa3d-22f6026324f63c142925244ff575fefc29a90389.zip external_mesa3d-22f6026324f63c142925244ff575fefc29a90389.tar.gz external_mesa3d-22f6026324f63c142925244ff575fefc29a90389.tar.bz2 |
gallium: Use draw_set_index_buffer and others.
Update all drivers to use draw_set_index_buffer,
draw_set_mapped_index_buffer, and draw_vbo. Remove
draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
Diffstat (limited to 'src/gallium/drivers/i915/i915_state.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index 8c53b06..bbfcff6 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -817,7 +817,8 @@ static void i915_set_index_buffer(struct pipe_context *pipe, else memset(&i915->index_buffer, 0, sizeof(i915->index_buffer)); - /* TODO make this more like a state */ + /* pass-through to draw module */ + draw_set_index_buffer(i915->draw, ib); } static void |