projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56282d7
)
python: pipe_vertex_buffer's pitch member has been renamed to stride.
author
Michal Krol
<michal@vmware.com>
Mon, 16 Mar 2009 15:10:54 +0000
(16:10 +0100)
committer
Michal Krol
<michal@vmware.com>
Mon, 16 Mar 2009 15:12:04 +0000
(16:12 +0100)
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 8960e6316c147b2cbc78ece6d7f5a7be20f00ff2..7ddd2d55ef138ae5624f4358d87440c83b59eb72 100644
(file)
--- a/
src/gallium/state_trackers/python/p_context.i
+++ b/
src/gallium/state_trackers/python/p_context.i
@@
-160,7
+160,7
@@
struct st_context {
struct pipe_vertex_buffer state;
memset(&state, 0, sizeof(state));
- state.
pitch
= pitch;
+ state.
stride
= pitch;
state.max_index = max_index;
state.buffer_offset = buffer_offset;
state.buffer = buffer ? buffer->buffer : NULL;