summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-12-31 15:03:35 +0000
committerJosé Fonseca <[email protected]>2009-02-20 13:00:13 +0000
commit7887a3e42b8cd9f3376dbf090e11c56198275c44 (patch)
treef543c15acd9ec8b9d1fd4247e9f1727dd9313495 /src/gallium/state_trackers
parent43b31fc6fcee6deb52a8bd033dada62e9ce67ecb (diff)
python: Pass a zero offset to util_draw_vertex_buffer.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/p_context.i2
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 1fdcec639f7..7b8b64b5923 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);