diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index b31141a..3b4ba3a 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -778,6 +778,8 @@ static void r300_draw_vbo(struct pipe_context* pipe, r300_update_derived_state(r300); + u_vbuf_mgr_draw_optimize(r300->vbuf_mgr, &r300->index_buffer, dinfo, &info); + /* Start the vbuf manager and update buffers if needed. */ if (u_vbuf_mgr_draw_begin(r300->vbuf_mgr, &info) & U_VBUF_BUFFERS_UPDATED) { r300->vertex_arrays_dirty = TRUE;