python: Pass a zero offset to util_draw_vertex_buffer.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user