From: Michal Krol Date: Mon, 16 Mar 2009 15:10:54 +0000 (+0100) Subject: python: pipe_vertex_buffer's pitch member has been renamed to stride. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60;p=mesa.git python: pipe_vertex_buffer's pitch member has been renamed to stride. --- 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;