python: Pass a zero offset to util_draw_vertex_buffer.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 31 Dec 2008 15:03:35 +0000 (15:03 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 20 Feb 2009 13:00:13 +0000 (13:00 +0000)
src/gallium/state_trackers/python/p_context.i

index 1fdcec639f720e2130991e0c4cadef42b3ca4457..7b8b64b5923ed9a2dc675ebd8c9ec903c7b93389 100644 (file)
@@ -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);