python: pipe_vertex_buffer's pitch member has been renamed to stride.

This commit is contained in:
Michal Krol 2009-03-16 16:10:54 +01:00
parent 56282d79f6
commit fcf93aa06d
1 changed files with 1 additions and 1 deletions

View File

@ -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;