From fcf93aa06d9894d2343c5d64c2c5342f8e2c6e60 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Mon, 16 Mar 2009 16:10:54 +0100 Subject: [PATCH] python: pipe_vertex_buffer's pitch member has been renamed to stride. --- src/gallium/state_trackers/python/p_context.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2