/* Note: we really do want data[0] here, not data[pos]:
*/
vbuf->translate->set_buffer(vbuf->translate, 0, vertex->data[0], 0, ~0);
- vbuf->translate->run(vbuf->translate, 0, 1, 0, vbuf->vertex_ptr);
+ vbuf->translate->run(vbuf->translate, 0, 1, 0, 0, vbuf->vertex_ptr);
if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr);
}
hw_key.nr_elements = vbuf->vinfo->num_attribs;
- hw_key.output_stride = vbuf->vinfo->size * 4;
+ hw_key.output_stride = vbuf->vertex_size;
/* Don't bother with caching at this stage:
*/