projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: pipe_vertex_buffer's pitch member has been renamed to stride.
[mesa.git]
/
src
/
gallium
/
state_trackers
/
python
/
p_context.i
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;