diff options
author | José Fonseca <jfonseca@vmware.com> | 2008-12-31 15:03:35 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2008-12-31 15:03:35 +0000 |
commit | 1d778356680e08cac63057b9275b7d96bfe975b6 (patch) | |
tree | ee8a14f4c8742d8c353c4bd2775a8afc47d798b4 /src/gallium/state_trackers/python | |
parent | e96985b02699e56753d36d33d68dae49a5478921 (diff) |
python: Pass a zero offset to util_draw_vertex_buffer.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r-- | src/gallium/state_trackers/python/p_context.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index 1fdcec639f..7b8b64b592 100644 --- a/src/gallium/state_trackers/python/p_context.i +++ b/src/gallium/state_trackers/python/p_context.i @@ -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); |