python: pipe_vertex_buffer's pitch member has been renamed to stride.
authorMichal Krol <michal@vmware.com>
Mon, 16 Mar 2009 15:10:54 +0000 (16:10 +0100)
committerMichal Krol <michal@vmware.com>
Mon, 16 Mar 2009 15:12:04 +0000 (16:12 +0100)
src/gallium/state_trackers/python/p_context.i

index 8960e6316c147b2cbc78ece6d7f5a7be20f00ff2..7ddd2d55ef138ae5624f4358d87440c83b59eb72 100644 (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;