Mesa (master): python: Pass a zero offset to util_draw_vertex_buffer.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Feb 23 17:21:43 UTC 2009
Module: Mesa
Branch: master
Commit: 7887a3e42b8cd9f3376dbf090e11c56198275c44
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7887a3e42b8cd9f3376dbf090e11c56198275c44
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Dec 31 15:03:35 2008 +0000
python: Pass a zero offset to util_draw_vertex_buffer.
---
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 1fdcec6..7b8b64b 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);
More information about the mesa-commit
mailing list