diff options
author | Michal Krol <[email protected]> | 2009-03-16 16:10:54 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-03-16 16:12:04 +0100 |
commit | fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60 (patch) | |
tree | 26aa50dfc7dde37a2dbd3d8f3f05236656126af3 | |
parent | 56282d79f631e871cafe0fa7780d103ea31829ed (diff) |
python: pipe_vertex_buffer's pitch member has been renamed to stride.
-rw-r--r-- | 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 8960e6316c1..7ddd2d55ef1 100644 --- 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; |