gallium: Use draw_set_index_buffer and others.
[mesa.git] / src / gallium / drivers / softpipe / sp_state_vertex.c
index 880a7c7cd2642151f0c545863599289099cbbc2f..b650fcaea5cb55797542c93e355873252af34169 100644 (file)
@@ -100,5 +100,5 @@ softpipe_set_index_buffer(struct pipe_context *pipe,
    else
       memset(&softpipe->index_buffer, 0, sizeof(softpipe->index_buffer));
 
-   /* TODO make this more like a state */
+   draw_set_index_buffer(softpipe->draw, ib);
 }