python: Pass a zero offset to util_draw_vertex_buffer.

This commit is contained in:
José Fonseca
2008-12-31 15:03:35 +00:00
parent e96985b026
commit 1d77835668

View File

@@ -245,7 +245,7 @@ struct st_context {
memcpy(map, vertices, size); memcpy(map, vertices, size);
pipe_buffer_unmap(screen, vbuf); pipe_buffer_unmap(screen, vbuf);
util_draw_vertex_buffer(pipe, vbuf, prim, num_verts, num_attribs); util_draw_vertex_buffer(pipe, vbuf, 0, prim, num_verts, num_attribs);
error2: error2:
pipe_buffer_reference(screen, &vbuf, NULL); pipe_buffer_reference(screen, &vbuf, NULL);