mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
python: Pass a zero offset to util_draw_vertex_buffer.
This commit is contained in:
parent
e96985b026
commit
1d77835668
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ struct st_context {
|
|||
memcpy(map, vertices, size);
|
||||
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:
|
||||
pipe_buffer_reference(screen, &vbuf, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue