projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96985b
)
python: Pass a zero offset to util_draw_vertex_buffer.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 31 Dec 2008 15:03:35 +0000
(15:03 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 31 Dec 2008 15:03:35 +0000
(15:03 +0000)
src/gallium/state_trackers/python/p_context.i
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/p_context.i
b/src/gallium/state_trackers/python/p_context.i
index 1fdcec639f720e2130991e0c4cadef42b3ca4457..7b8b64b5923ed9a2dc675ebd8c9ec903c7b93389 100644
(file)
--- 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);